##// END OF EJS Templates
test: use `set_tracked` in `test-context`...
marmoute -
r48518:03ef0c8f default
parent child Browse files
Show More
@@ -240,7 +240,7 b" for i in [b'1', b'2', b'3']:"
240 with repo.wlock(), repo.lock(), repo.transaction(b'test'):
240 with repo.wlock(), repo.lock(), repo.transaction(b'test'):
241 with open(b'4', 'wb') as f:
241 with open(b'4', 'wb') as f:
242 f.write(b'4')
242 f.write(b'4')
243 repo.dirstate.normal(b'4')
243 repo.dirstate.set_tracked(b'4')
244 repo.commit(b'4')
244 repo.commit(b'4')
245 revsbefore = len(repo.changelog)
245 revsbefore = len(repo.changelog)
246 repo.invalidate(clearfilecache=True)
246 repo.invalidate(clearfilecache=True)
General Comments 0
You need to be logged in to leave comments. Login now