##// END OF EJS Templates
hg: tolerate long vs. int in test-context.py...
Tristan Seligmann -
r33797:3889cf95 stable
parent child Browse files
Show More
@@ -24,11 +24,10 b" os.utime('foo', (1000, 1000))"
24 repo[None].add(['foo'])
24 repo[None].add(['foo'])
25 repo.commit(text='commit1', date="0 0")
25 repo.commit(text='commit1', date="0 0")
26
26
27 d = repo[None]['foo'].date()
27 if os.name == 'nt':
28 if os.name == 'nt':
28 d = repo[None]['foo'].date()
29 d = d[:2]
29 print("workingfilectx.date = (%d, %d)" % (d[0], d[1]))
30 print("workingfilectx.date = (%d, %d)" % d)
30 else:
31 print("workingfilectx.date =", repo[None]['foo'].date())
32
31
33 # test memctx with non-ASCII commit message
32 # test memctx with non-ASCII commit message
34
33
General Comments 0
You need to be logged in to leave comments. Login now