##// END OF EJS Templates
dirstate: use wlock and changing_files context in `test-revlog-ancestry`...
marmoute -
r50934:7b289a70 default
parent child Browse files
Show More
@@ -19,8 +19,10 b' def addcommit(name, time):'
19 f = open(name, 'wb')
19 f = open(name, 'wb')
20 f.write(b'%s\n' % name)
20 f.write(b'%s\n' % name)
21 f.close()
21 f.close()
22 repo[None].add([name])
22 with repo.wlock():
23 commit(name, time)
23 with repo.dirstate.changing_files(repo):
24 repo[None].add([name])
25 commit(name, time)
24
26
25
27
26 def update(rev):
28 def update(rev):
General Comments 0
You need to be logged in to leave comments. Login now