Mercurial > hg > hg-git
changeset 299:6bde2f727de9
test-hg-branch: sed hashes from hg < 1.5
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 27 Mar 2010 21:16:41 -0500 |
parents | 6ad6945b6629 |
children | eec31dee258e |
files | tests/test-hg-branch |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hg-branch +++ b/tests/test-hg-branch @@ -26,6 +26,9 @@ GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"; export GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"; export GIT_COMMITTER_DATE +# TODO stop using this when we're 1.5 only +filterhash="sed s/71414c4e3c6f/a31e374801c9/;s/698615204564/d93a72262a83/" + count=10 commit() { @@ -71,12 +74,12 @@ hgcommit -m 'started branch gamma' hg push -hg log --graph +hg log --graph | $filterhash cd .. hg clone git://localhost/gitrepo hgrepo2 | grep -v '^updating' cd hgrepo2 -hg log --graph +hg log --graph | $filterhash cd .. kill `cat gitdaemon.pid`