hgkw/keyword.py
changeset 327 06f3c6b3dd93
parent 320 83dad6b67ed9
child 328 f5154819a11b
equal deleted inserted replaced
325:1dc0abff8ac3 327:06f3c6b3dd93
   326     ui.note(_('\n%s keywords written to %s:\n') % (kwstatus, path))
   326     ui.note(_('\n%s keywords written to %s:\n') % (kwstatus, path))
   327     ui.note(keywords)
   327     ui.note(keywords)
   328     ui.note('\nhg -R "%s" branch "%s"\n' % (tmpdir, branchname))
   328     ui.note('\nhg -R "%s" branch "%s"\n' % (tmpdir, branchname))
   329     # silence branch command if not verbose
   329     # silence branch command if not verbose
   330     quiet = ui.quiet
   330     quiet = ui.quiet
   331     verbose = ui.verbose
   331     ui.quiet = not ui.verbose
   332     ui.quiet = not verbose
       
   333     commands.branch(ui, repo, branchname)
   332     commands.branch(ui, repo, branchname)
   334     ui.quiet = quiet
   333     ui.quiet = quiet
   335     for name, cmd in ui.configitems('hooks'):
   334     for name, cmd in ui.configitems('hooks'):
   336         if name.split('.', 1)[0].find('commit') > -1:
   335         if name.split('.', 1)[0].find('commit') > -1:
   337             repo.ui.setconfig('hooks', name, '')
   336             repo.ui.setconfig('hooks', name, '')