diff tests/test-context.py @ 11303:a1aad8333864

move working dir/dirstate methods from localrepo to workingctx
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 07 Jun 2010 20:03:32 +0200
parents 3b76321aa0de
children bd23d5f28bbb
line wrap: on
line diff
--- 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()