diff tests/test-context.py @ 6740:b148e9099133

use repo.changectx(None) to get a workingctx
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 13:46:29 -0500
parents e75aab656f46
children f6c00b17387c
line wrap: on
line diff
--- a/tests/test-context.py	Wed Jun 25 17:35:20 2008 -0500
+++ b/tests/test-context.py	Thu Jun 26 13:46:29 2008 -0500
@@ -16,4 +16,4 @@
 repo.add(['foo'])
 repo.commit(text='commit1', date="0 0")
 
-print "workingfilectx.date =", repo.workingctx().filectx('foo').date()
+print "workingfilectx.date =", repo.changectx(None).filectx('foo').date()