##// END OF EJS Templates
push: `exchange.push` instead of `localrepo.push`...
Pierre-Yves David -
r22619:f6cf9680 default
parent child Browse files
Show More
@@ -12,6 +12,7 b' from i18n import _'
12 12 import config, util, node, error, cmdutil, bookmarks, match as matchmod
13 13 import phases
14 14 import pathutil
15 import exchange
15 16 hg = None
16 17 propertycache = util.propertycache
17 18
@@ -817,11 +818,11 b' class hgsubrepo(abstractsubrepo):'
817 818 self._repo.ui.status(_('pushing subrepo %s to %s\n') %
818 819 (subrelpath(self), dsturl))
819 820 other = hg.peer(self._repo, {'ssh': ssh}, dsturl)
820 res = self._repo.push(other, force, newbranch=newbranch)
821 res = exchange.push(self._repo, other, force, newbranch=newbranch)
821 822
822 823 # the repo is now clean
823 824 self._cachestorehash(dsturl)
824 return res
825 return res.cgresult
825 826
826 827 @annotatesubrepoerror
827 828 def outgoing(self, ui, dest, opts):
General Comments 0
You need to be logged in to leave comments. Login now