##// 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 cca(f)
2031 cca(f)
2032 names.append(f)
2032 names.append(f)
2033 if ui.verbose or not exact:
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 for subpath in sorted(wctx.substate):
2037 for subpath in sorted(wctx.substate):
2037 sub = wctx.sub(subpath)
2038 sub = wctx.sub(subpath)
@@ -12,6 +12,9 b''
12 $ hg forget a
12 $ hg forget a
13 $ hg add
13 $ hg add
14 adding a
14 adding a
15 $ hg forget a
16 $ hg add --color debug
17 [addremove.added ui.status|adding a]
15 $ hg st
18 $ hg st
16 A a
19 A a
17 $ mkdir dir
20 $ mkdir dir
General Comments 0
You need to be logged in to leave comments. Login now