# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1291027855 -3600 # Node ID 768639283275c5354e7b905b698fd763a88bc78a # Parent 4dfc41b15d9a33b1d6076d7e3502ea14fb1b0b8e incoming: pass unexpanded source to wrapped function (fixes #178) This will allow the MQ extension to use paths from the patch repository. diff --git a/hgsubversion/wrappers.py b/hgsubversion/wrappers.py --- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -54,14 +54,14 @@ def parents(orig, ui, repo, *args, **opt return 0 -def incoming(orig, ui, repo, source='default', **opts): +def incoming(orig, ui, repo, origsource='default', **opts): """show incoming revisions from Subversion """ - source, revs, checkout = util.parseurl(ui.expandpath(source)) + source, revs, checkout = util.parseurl(ui.expandpath(origsource)) other = hg.repository(ui, source) if 'subversion' not in other.capabilities: - return orig(ui, repo, source, **opts) + return orig(ui, repo, origsource, **opts) svn = other.svn meta = repo.svnmeta(svn.uuid, svn.subdir)