tests/test-context.py
changeset 6747 f6c00b17387c
parent 6740 b148e9099133
child 9031 3b76321aa0de
equal deleted inserted replaced
6746:1dca460e7d1e 6747:f6c00b17387c
    14 
    14 
    15 # add+commit 'foo'
    15 # add+commit 'foo'
    16 repo.add(['foo'])
    16 repo.add(['foo'])
    17 repo.commit(text='commit1', date="0 0")
    17 repo.commit(text='commit1', date="0 0")
    18 
    18 
    19 print "workingfilectx.date =", repo.changectx(None).filectx('foo').date()
    19 print "workingfilectx.date =", repo[None]['foo'].date()