##// END OF EJS Templates
add: add a label for messages about added files...
Boris Feld -
r39124:3ff9d2ec default
parent child Browse files
Show More
@@ -2031,7 +2031,8 b' def add(ui, repo, match, prefix, explici'
2031 2031 cca(f)
2032 2032 names.append(f)
2033 2033 if ui.verbose or not exact:
2034 ui.status(_('adding %s\n') % match.rel(f))
2034 ui.status(_('adding %s\n') % match.rel(f),
2035 label='addremove.added')
2035 2036
2036 2037 for subpath in sorted(wctx.substate):
2037 2038 sub = wctx.sub(subpath)
@@ -12,6 +12,9 b''
12 12 $ hg forget a
13 13 $ hg add
14 14 adding a
15 $ hg forget a
16 $ hg add --color debug
17 [addremove.added ui.status|adding a]
15 18 $ hg st
16 19 A a
17 20 $ mkdir dir
General Comments 0
You need to be logged in to leave comments. Login now