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