diff -r fe31f834a9ff -r 34d8247a4595 tests/test-hybridencode.py --- a/tests/test-hybridencode.py Tue Sep 14 23:00:39 2010 +0200 +++ b/tests/test-hybridencode.py Sat Oct 09 21:54:50 2010 +0200 @@ -2,7 +2,10 @@ from mercurial import store -enc = store.hybridencode # used for fncache repo format +auxencode = lambda f: store._auxencode(f, True) +hybridencode = lambda f: store._hybridencode(f, auxencode) + +enc = hybridencode # used for 'dotencode' repo format def show(s): print "A = '%s'" % s @@ -22,4 +25,5 @@ 'Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt') show('data/Project.Planning/Resources/AnotherLongDirectoryName/' 'Followedbyanother/AndAnother/AndThenAnExtremelyLongFileName.txt') -show('data/foo.../foo / /a./_. /__/.x../ bla/something.i') +show('data/foo.../foo / /a./_. /__/.x../ bla/.FOO/something.i') +