Page MenuHomePhabricator

D21747.id51844.diff
No OneTemporary

D21747.id51844.diff

diff --git a/support/hg/arc-hg.py b/support/hg/arc-hg.py
--- a/support/hg/arc-hg.py
+++ b/support/hg/arc-hg.py
@@ -39,12 +39,17 @@
command = cmdutil.command(cmdtable)
try:
- if "remoteopts" in cmdutil:
- remoteopts = cmdutil.remoteopts
+ remoteopts = cmdutil.remoteopts
except:
from mercurial import commands
remoteopts = commands.remoteopts
+try:
+ parseurl = hg.parseurl
+except:
+ from mercurial import utils
+ parseurl = utils.urlutil.parseurl
+
@command(
b'arc-amend',
[
@@ -268,7 +273,7 @@
markers = []
- source, branches = hg.parseurl(ui.expandpath(source))
+ source, branches = parseurl(ui.expandpath(source))
remote = hg.peer(repo, opts, source)
with remote.commandexecutor() as e:

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 5:19 PM (5 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6918205
Default Alt Text
D21747.id51844.diff (739 B)

Event Timeline