subrepo: fix silent push failure for SVN (issue2241) stable
authorMatt Mackall <mpm@selenic.com>
Sun, 27 Jun 2010 18:20:49 -0500
branchstable
changeset 11455 3827728b54e2
parent 11454 9b0406b23be0
child 11456 88abbb046e66
subrepo: fix silent push failure for SVN (issue2241)
mercurial/subrepo.py
--- a/mercurial/subrepo.py	Fri Jun 18 08:49:24 2010 +0200
+++ b/mercurial/subrepo.py	Sun Jun 27 18:20:49 2010 -0500
@@ -379,8 +379,8 @@
             self.get(state)
 
     def push(self, force):
-        # nothing for svn
-        pass
+        # push is a no-op for SVN
+        return True
 
 types = {
     'hg': hgsubrepo,