Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14385560
D21747.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
739 B
Referenced Files
None
Subscribers
None
D21747.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 11:57 AM (10 h, 1 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6918205
Default Alt Text
D21747.diff (739 B)
Attached To
Mode
D21747: Update arc-hg to support mercurial 6.1
Attached
Detach File
Event Timeline
Log In to Comment