Show More
@@ -457,12 +457,9 b' def demo(ui, repo, *args, **opts):' | |||||
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 | for root, dirs, files in os.walk(tmpdir): | |
461 | for f in files: |
|
461 | for f in files: | |
462 |
util.unlink(o |
|
462 | util.unlinkpath(repo.vfs.reljoin(root, f)) | |
463 | for d in dirs: |
|
|||
464 | os.rmdir(os.path.join(root, d)) |
|
|||
465 | os.rmdir(tmpdir) |
|
|||
466 |
|
463 | |||
467 | @command('kwexpand', |
|
464 | @command('kwexpand', | |
468 | commands.walkopts, |
|
465 | commands.walkopts, |
General Comments 0
You need to be logged in to leave comments.
Login now