mercurial/subrepo.py
branchstable
changeset 17895 17c030014ddf
parent 17876 f4ee2e959696
child 17968 a9f4a6076740
child 18006 0c10cf819146
--- a/mercurial/subrepo.py	Wed Oct 31 03:59:28 2012 +0900
+++ b/mercurial/subrepo.py	Wed Oct 24 18:45:22 2012 +0200
@@ -523,7 +523,7 @@
         self._get(state)
         source, revision, kind = state
         self._repo.ui.debug("getting subrepo %s\n" % self._path)
-        hg.clean(self._repo, revision, False)
+        hg.updaterepo(self._repo, revision, overwrite)
 
     def merge(self, state):
         self._get(state)