Show More
@@ -531,10 +531,10 b' def demo(ui, repo, *args, **opts):' | |||
|
531 | 531 | demoitems(b'keywordmaps', kwmaps.items()) |
|
532 | 532 | keywords = b'$' + b'$\n$'.join(sorted(kwmaps.keys())) + b'$\n' |
|
533 | 533 | repo.wvfs.write(fn, keywords) |
|
534 | with repo.wlock(): | |
|
534 | 535 | repo[None].add([fn]) |
|
535 | 536 | ui.note(_(b'\nkeywords written to %s:\n') % fn) |
|
536 | 537 | ui.note(keywords) |
|
537 | with repo.wlock(): | |
|
538 | 538 | repo.dirstate.setbranch(b'demobranch') |
|
539 | 539 | for name, cmd in ui.configitems(b'hooks'): |
|
540 | 540 | if name.split(b'.', 1)[0].find(b'commit') > -1: |
General Comments 0
You need to be logged in to leave comments.
Login now