##// END OF EJS Templates
remove: add a label for messages about removed files...
Boris Feld -
r39125:1320df0d default
parent child Browse files
Show More
@@ -2130,7 +2130,8 b' def forget(ui, repo, match, prefix, expl'
2130
2130
2131 for f in forget:
2131 for f in forget:
2132 if ui.verbose or not match.exact(f) or interactive:
2132 if ui.verbose or not match.exact(f) or interactive:
2133 ui.status(_('removing %s\n') % match.rel(f))
2133 ui.status(_('removing %s\n') % match.rel(f),
2134 label='addremove.removed')
2134
2135
2135 if not dryrun:
2136 if not dryrun:
2136 rejected = wctx.forget(forget, prefix)
2137 rejected = wctx.forget(forget, prefix)
@@ -2263,7 +2264,8 b' def remove(ui, repo, m, prefix, after, f'
2263 for f in list:
2264 for f in list:
2264 if ui.verbose or not m.exact(f):
2265 if ui.verbose or not m.exact(f):
2265 progress.increment()
2266 progress.increment()
2266 ui.status(_('removing %s\n') % m.rel(f))
2267 ui.status(_('removing %s\n') % m.rel(f),
2268 label='addremove.removed')
2267 progress.complete()
2269 progress.complete()
2268
2270
2269 if not dryrun:
2271 if not dryrun:
@@ -520,6 +520,14 b' test dry-run for remove'
520 deleting [===========================================>] 1/1\r (no-eol) (esc)
520 deleting [===========================================>] 1/1\r (no-eol) (esc)
521 \r (no-eol) (esc)
521 \r (no-eol) (esc)
522 removing a
522 removing a
523 $ hg remove a -nv --color debug
524 \r (no-eol) (esc)
525 deleting [===========================================>] 1/1\r (no-eol) (esc)
526 \r (no-eol) (esc)
527 \r (no-eol) (esc)
528 deleting [===========================================>] 1/1\r (no-eol) (esc)
529 \r (no-eol) (esc)
530 [addremove.removed ui.status|removing a]
523 $ hg diff
531 $ hg diff
524
532
525 $ cat >> .hg/hgrc <<EOF
533 $ cat >> .hg/hgrc <<EOF
General Comments 0
You need to be logged in to leave comments. Login now