Show More
@@ -16,7 +16,11 b" os.utime('foo', (1000, 1000))" | |||||
16 | repo[None].add(['foo']) |
|
16 | repo[None].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[None]['foo'].date() |
|
19 | if os.name == 'nt': | |
|
20 | d = repo[None]['foo'].date() | |||
|
21 | print "workingfilectx.date = (%d, %d)" % (d[0], d[1]) | |||
|
22 | else: | |||
|
23 | print "workingfilectx.date =", repo[None]['foo'].date() | |||
20 |
|
24 | |||
21 | # test memctx with non-ASCII commit message |
|
25 | # test memctx with non-ASCII commit message | |
22 |
|
26 |
General Comments 0
You need to be logged in to leave comments.
Login now