# HG changeset patch # User Siddharth Agarwal # Date 1413269841 25200 # Node ID 2d1f6687980ba69fec4fe1b2771290ea796d3681 # Parent 3a4d7482318747dd07afca4a7cc8f059b0866629 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. diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- 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()