1. David Carr
  2. hg-git

Commits

David Carr  committed 8e8d06e

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.

  • Participants
  • Parent commits d92439a
  • Branches default

Comments (0)

Files changed (1)

File tests/test-hg-branch.t

View file
 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
   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
   $ 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