Skip to content
Snippets Groups Projects
Commit 3a138e59 authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

hgrepo.push: use githandler property

parent c2873f81
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,7 @@
# TODO figure out something useful to do with the newbranch param
def push(self, remote, force=False, revs=None, newbranch=None):
if isinstance(remote, gitrepo):
git = GitHandler(self, self.ui)
return git.push(remote.path, revs, force)
return self.githandler.push(remote.path, revs, force)
else: #pragma: no cover
# newbranch was added in 1.6
if newbranch is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment