Mercurial > hg
diff mercurial/help/subrepos.txt @ 15410:9e99d2bbb1b1
add: support adding explicit files in subrepos
Change the behavior of the add command such that explicit paths in
subrepos are always added. This eliminates the previous behavior
where if you called "hg add" for an explicit path in a subrepo
without specifying the -S option, it would be silently ignored.
If you specify patterns, or no arguments at all, the -S option
will still be needed to activate recursion into subrepos.
author | David M. Carr <david@carrclan.us> |
---|---|
date | Wed, 02 Nov 2011 01:17:11 -0400 |
parents | 15f15f3b405d |
children | 2ddae301d0a2 |
line wrap: on
line diff
--- a/mercurial/help/subrepos.txt Tue Nov 01 23:53:29 2011 -0400 +++ b/mercurial/help/subrepos.txt Wed Nov 02 01:17:11 2011 -0400 @@ -73,7 +73,9 @@ ----------------------------------- :add: add does not recurse in subrepos unless -S/--subrepos is - specified. Subversion subrepositories are currently silently + specified. However, if you specify the full path of a file in a + subrepo, it will be added even without -S/--subrepos specified. + Subversion subrepositories are currently silently ignored. :archive: archive does not recurse in subrepositories unless