diff mercurial/help/subrepos.txt @ 23537:f1b06a8aad42

commit: propagate --addremove to subrepos if -S is specified (issue3759) The recursive addremove operation occurs completely before the first subrepo is committed. Only hg subrepos support the addremove operation at the moment- svn and git subrepos will warn and abort the commit.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 24 Nov 2014 22:27:49 -0500
parents 01a8dfc79cdc
children ccfb56450f21
line wrap: on
line diff
--- a/mercurial/help/subrepos.txt	Wed Nov 26 16:13:38 2014 -0500
+++ b/mercurial/help/subrepos.txt	Mon Nov 24 22:27:49 2014 -0500
@@ -94,7 +94,9 @@
     -S/--subrepos, or setting "ui.commitsubrepos=True" in a
     configuration file (see :hg:`help config`).  After there are no
     longer any modified subrepositories, it records their state and
-    finally commits it in the parent repository.
+    finally commits it in the parent repository.  The --addremove
+    option also honors the -S/--subrepos option.  However, Git and
+    Subversion subrepositories will print a warning and abort.
 
 :diff: diff does not recurse in subrepos unless -S/--subrepos is
     specified. Changes are displayed as usual, on the subrepositories