Mercurial > hg > hg-git
changeset 584:8e8d06e75e74
tests: remove filterhash from test-incoming.t
This test had some form of legacy hash filtering, marked with a TODO to remove
it when we're only supporting Mercurial 1.5 or later. Well, that time has
come, so I removed it.
author | David M. Carr <david@carrclan.us> |
---|---|
date | Sat, 03 Nov 2012 19:25:13 -0400 |
parents | d92439a50837 |
children | fbbdbc8a8785 |
files | tests/test-hg-branch.t |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-hg-branch.t +++ b/tests/test-hg-branch.t @@ -1,10 +1,6 @@ Load commonly used test logic $ . "$TESTDIR/testutil" -TODO stop using this when we're 1.5 only - $ filterhash="sed s/71414c4e3c6f/a31e374801c9/;s/698615204564/d93a72262a83/" - $ filterhash="$filterhash;s/d93a72262a83/05aed681ccb3/" - $ git init gitrepo Initialized empty Git repository in $TESTTMP/gitrepo/.git/ $ cd gitrepo @@ -35,7 +31,7 @@ pushing to $TESTTMP/gitrepo searching for changes - $ hg log --graph | $filterhash | egrep -v ': *(not-master|master)' + $ hg log --graph | egrep -v ': *(not-master|master)' @ changeset: 2:05aed681ccb3 | branch: gamma | tag: default/master @@ -60,7 +56,7 @@ $ hg clone gitrepo hgrepo2 | grep -v '^updating' importing git objects into hg 1 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ hg -R hgrepo2 log --graph | $filterhash | egrep -v ': *(not-master|master)' + $ hg -R hgrepo2 log --graph | egrep -v ': *(not-master|master)' o changeset: 2:05aed681ccb3 | branch: gamma | tag: default/master