tests/test-context.py
changeset 11303 a1aad8333864
parent 9031 3b76321aa0de
child 14379 bd23d5f28bbb
--- 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()