Mercurial > hgsubversion
changeset 1248:2d1f6687980b
wrappers.push: call pull instead of repo.pull
repo.pull went away in Mercurial rev 73b5b8312ce6. Calling pull directly is the
easiest way of maintaining compatibility across the change.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 13 Oct 2014 23:57:21 -0700 |
parents | 3a4d74823187 |
children | 11c8de73b48a |
files | hgsubversion/wrappers.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -289,7 +289,7 @@ def push(repo, dest, force, revs): # 5. Pull the latest changesets from subversion, which will # include the one we just committed (and possibly others). - r = repo.pull(dest, force=force) + r = pull(repo, dest, force=force) assert not r or r == 0 meta = repo.svnmeta(svn.uuid, svn.subdir) hashes = meta.revmap.hashes()