diff mercurial/commands.py @ 23538:ccfb56450f21

addremove: add support for the -S flag Git and svn subrepos are currently not supported. It doesn't look like git or svn have these commands natively, so that's an area for a git or svn expert.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 24 Nov 2014 23:51:26 -0500
parents f1b06a8aad42
children 21446f4d5c62
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Nov 24 22:27:49 2014 -0500
+++ b/mercurial/commands.py	Mon Nov 24 23:51:26 2014 -0500
@@ -204,7 +204,7 @@
     return rejected and 1 or 0
 
 @command('addremove',
-    similarityopts + walkopts + dryrunopts,
+    similarityopts + subrepoopts + walkopts + dryrunopts,
     _('[OPTION]... [FILE]...'),
     inferrepo=True)
 def addremove(ui, repo, *pats, **opts):