Mercurial > hg > hg-git
changeset 658:3a138e596ad0
hgrepo.push: use githandler property
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Wed, 19 Feb 2014 14:14:01 -0800 |
parents | c2873f816817 |
children | 7971aa024c22 |
files | hggit/hgrepo.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/hgrepo.py +++ b/hggit/hgrepo.py @@ -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: