changeset 11455:3827728b54e2 stable

subrepo: fix silent push failure for SVN (issue2241)
author Matt Mackall <mpm@selenic.com>
date Sun, 27 Jun 2010 18:20:49 -0500
parents 9b0406b23be0
children 88abbb046e66
files mercurial/subrepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,