equal
deleted
inserted
replaced
445 wlock.release() |
445 wlock.release() |
446 for name, cmd in ui.configitems('hooks'): |
446 for name, cmd in ui.configitems('hooks'): |
447 if name.split('.', 1)[0].find('commit') > -1: |
447 if name.split('.', 1)[0].find('commit') > -1: |
448 repo.ui.setconfig('hooks', name, '') |
448 repo.ui.setconfig('hooks', name, '') |
449 msg = _('hg keyword configuration and expansion example') |
449 msg = _('hg keyword configuration and expansion example') |
450 ui.note("hg ci -m '%s'\n" % msg) # check-code-ignore |
450 ui.note(("hg ci -m '%s'\n" % msg)) |
451 repo.commit(text=msg) |
451 repo.commit(text=msg) |
452 ui.status(_('\n\tkeywords expanded\n')) |
452 ui.status(_('\n\tkeywords expanded\n')) |
453 ui.write(repo.wread(fn)) |
453 ui.write(repo.wread(fn)) |
454 shutil.rmtree(tmpdir, ignore_errors=True) |
454 shutil.rmtree(tmpdir, ignore_errors=True) |
455 |
455 |