Show More
@@ -535,7 +535,7 b' def demo(ui, repo, *args, **opts):' | |||
|
535 | 535 | repo[None].add([fn]) |
|
536 | 536 | ui.note(_(b'\nkeywords written to %s:\n') % fn) |
|
537 | 537 | ui.note(keywords) |
|
538 | repo.dirstate.setbranch(b'demobranch') | |
|
538 | repo.dirstate.setbranch(b'demobranch', repo.currenttransaction()) | |
|
539 | 539 | for name, cmd in ui.configitems(b'hooks'): |
|
540 | 540 | if name.split(b'.', 1)[0].find(b'commit') > -1: |
|
541 | 541 | repo.ui.setconfig(b'hooks', name, b'', b'keyword') |
General Comments 0
You need to be logged in to leave comments.
Login now