Show More
@@ -532,7 +532,8 b' def demo(ui, repo, *args, **opts):' | |||
|
532 | 532 | keywords = b'$' + b'$\n$'.join(sorted(kwmaps.keys())) + b'$\n' |
|
533 | 533 | repo.wvfs.write(fn, keywords) |
|
534 | 534 | with repo.wlock(): |
|
535 | repo[None].add([fn]) | |
|
535 | with repo.dirstate.changing_files(repo): | |
|
536 | repo[None].add([fn]) | |
|
536 | 537 | ui.note(_(b'\nkeywords written to %s:\n') % fn) |
|
537 | 538 | ui.note(keywords) |
|
538 | 539 | repo.dirstate.setbranch(b'demobranch') |
General Comments 0
You need to be logged in to leave comments.
Login now