diff -r e1dde7363601 -r a1aad8333864 tests/test-context.py --- a/tests/test-context.py Thu Jun 03 23:18:18 2010 -0500 +++ b/tests/test-context.py Mon Jun 07 20:03:32 2010 +0200 @@ -13,7 +13,7 @@ os.utime('foo', (1000, 1000)) # add+commit 'foo' -repo.add(['foo']) +repo[None].add(['foo']) repo.commit(text='commit1', date="0 0") print "workingfilectx.date =", repo[None]['foo'].date()