mercurial/subrepo.py
changeset 24135 27b6d41aa029
parent 24134 afed5d2e7985
child 24148 7a2194473155
--- a/mercurial/subrepo.py	Sat Feb 07 21:47:28 2015 -0500
+++ b/mercurial/subrepo.py	Sun Feb 08 00:56:40 2015 -0500
@@ -878,9 +878,6 @@
             opts['date'] = None
             opts['rev'] = substate[1]
 
-            pats = []
-            if not opts.get('all'):
-                pats = ['set:modified()']
             self.filerevert(*pats, **opts)
 
         # Update the repo to the revision specified in the given substate