equal
deleted
inserted
replaced
455 msg = _('hg keyword configuration and expansion example') |
455 msg = _('hg keyword configuration and expansion example') |
456 ui.note(("hg ci -m '%s'\n" % msg)) |
456 ui.note(("hg ci -m '%s'\n" % msg)) |
457 repo.commit(text=msg) |
457 repo.commit(text=msg) |
458 ui.status(_('\n\tkeywords expanded\n')) |
458 ui.status(_('\n\tkeywords expanded\n')) |
459 ui.write(repo.wread(fn)) |
459 ui.write(repo.wread(fn)) |
460 for root, dirs, files in os.walk(tmpdir): |
460 repo.wvfs.rmtree(repo.root) |
461 for f in files: |
|
462 util.unlinkpath(repo.vfs.reljoin(root, f)) |
|
463 |
461 |
464 @command('kwexpand', |
462 @command('kwexpand', |
465 commands.walkopts, |
463 commands.walkopts, |
466 _('hg kwexpand [OPTION]... [FILE]...'), |
464 _('hg kwexpand [OPTION]... [FILE]...'), |
467 inferrepo=True) |
465 inferrepo=True) |