Show More
@@ -348,8 +348,8 b' def demo(ui, repo, *args, **opts):' | |||
|
348 | 348 | ui.note(_('unhooked all commit hooks\n')) |
|
349 | 349 | ui.note('hg -R "%s" ci -m "%s"\n' % (tmpdir, msg)) |
|
350 | 350 | repo.commit(text=msg) |
|
351 |
f |
|
|
352 |
demostatus('%s keywords expanded%s' % (kwstatus, f |
|
|
351 | fmt = ui.verbose and ' in %s' % path or '' | |
|
352 | demostatus('%s keywords expanded%s' % (kwstatus, fmt)) | |
|
353 | 353 | ui.write(repo.wread(fn)) |
|
354 | 354 | ui.debug(_('\nremoving temporary repo %s\n') % tmpdir) |
|
355 | 355 | shutil.rmtree(tmpdir, ignore_errors=True) |
@@ -382,9 +382,9 b' def files(ui, repo, *pats, **opts):' | |||
|
382 | 382 | if opts.get('all') or opts.get('ignore'): |
|
383 | 383 | kwfstats += (('I', [f for f in files if f not in kwfiles]),) |
|
384 | 384 | for char, filenames in kwfstats: |
|
385 |
f |
|
|
385 | fmt = (opts.get('all') or ui.verbose) and '%s %%s\n' % char or '%s\n' | |
|
386 | 386 | for f in filenames: |
|
387 |
ui.write(f |
|
|
387 | ui.write(fmt % repo.pathto(f, cwd)) | |
|
388 | 388 | |
|
389 | 389 | def shrink(ui, repo, *pats, **opts): |
|
390 | 390 | '''revert expanded keywords in working directory |
General Comments 0
You need to be logged in to leave comments.
Login now