equal
deleted
inserted
replaced
352 ui.note(_('unhooked all commit hooks\n')) |
352 ui.note(_('unhooked all commit hooks\n')) |
353 ui.note('hg -R "%s" ci -m "%s"\n' % (tmpdir, msg)) |
353 ui.note('hg -R "%s" ci -m "%s"\n' % (tmpdir, msg)) |
354 repo.commit(text=msg) |
354 repo.commit(text=msg) |
355 ui.status(_('\n\tkeywords expanded\n')) |
355 ui.status(_('\n\tkeywords expanded\n')) |
356 ui.write(repo.wread(fn)) |
356 ui.write(repo.wread(fn)) |
357 ui.debug(_('\nremoving temporary repository %s\n') % tmpdir) |
357 ui.debug('\nremoving temporary repository %s\n' % tmpdir) |
358 shutil.rmtree(tmpdir, ignore_errors=True) |
358 shutil.rmtree(tmpdir, ignore_errors=True) |
359 |
359 |
360 def expand(ui, repo, *pats, **opts): |
360 def expand(ui, repo, *pats, **opts): |
361 '''expand keywords in the working directory |
361 '''expand keywords in the working directory |
362 |
362 |