##// 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,6 +19,8 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 with repo.wlock():
23 with repo.dirstate.changing_files(repo):
22 repo[None].add([name])
24 repo[None].add([name])
23 commit(name, time)
25 commit(name, time)
24
26
General Comments 0
You need to be logged in to leave comments. Login now