Mercurial > hg-stable
diff tests/test-context.py @ 6747:f6c00b17387c
use repo[changeid] to get a changectx
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 26 Jun 2008 14:35:46 -0500 |
parents | b148e9099133 |
children | 3b76321aa0de |
line wrap: on
line diff
--- a/tests/test-context.py Thu Jun 26 13:58:24 2008 -0500 +++ b/tests/test-context.py Thu Jun 26 14:35:46 2008 -0500 @@ -16,4 +16,4 @@ repo.add(['foo']) repo.commit(text='commit1', date="0 0") -print "workingfilectx.date =", repo.changectx(None).filectx('foo').date() +print "workingfilectx.date =", repo[None]['foo'].date()