Page MenuHomePhabricator

Disambiguate various types of Mercurial remote markers with "hg arc-ls-remote"
ClosedPublic

Authored by epriestley on Jun 9 2020, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 8, 11:34 AM
Unknown Object (File)
Fri, Sep 6, 8:13 AM
Unknown Object (File)
Wed, Aug 28, 10:47 AM
Unknown Object (File)
Tue, Aug 27, 3:34 PM
Unknown Object (File)
Tue, Aug 27, 2:46 AM
Unknown Object (File)
Sun, Aug 25, 8:50 PM
Unknown Object (File)
Sat, Aug 24, 11:09 PM
Unknown Object (File)
Mon, Aug 19, 3:31 AM
Subscribers
None

Details

Summary

Ref T13546. Ref T9948. It seems challenging to examine a remote in vanilla Mercurial. Provide an "hg arc-ls-remote" command which functions like "git ls-remote" so we can figure out if "--into X" is a bookmark, branch, both, neither, or a branch with multiple heads without mutating the working copy as a side effect.

Test Plan

Ran various "arc land --into ..." commands in a Mercurial working copy, saw apparently-sensible resolution of remote marker names.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable