Page MenuHomePhabricator

MercurialProject
ActivePublic

Recent Activity

Sep 23 2021

cspeckmim added a revision to T13668: Landing a string of dependent revisions which contains branched commits will result in stripping/pruning those branched commits: D21724: Update Mercurial's cascading of commit sets to rebase non-landed commits.
Sep 23 2021, 3:09 AM · Mercurial, Arcanist

Sep 22 2021

cspeckmim updated the task description for T13668: Landing a string of dependent revisions which contains branched commits will result in stripping/pruning those branched commits.
Sep 22 2021, 2:10 AM · Mercurial, Arcanist
cspeckmim created T13668: Landing a string of dependent revisions which contains branched commits will result in stripping/pruning those branched commits.
Sep 22 2021, 2:06 AM · Mercurial, Arcanist

Sep 16 2021

cspeckmim added a revision to T13665: The "arc amend" workflow does not work on Mercurial repositories: D21723: Make corrections to the "arc amend" workflow in Mercurial repositories to be compatible with PHP 5+.
Sep 16 2021, 6:54 PM · Mercurial, Arcanist

Sep 14 2021

cspeckmim updated the task description for T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing.
Sep 14 2021, 9:59 PM · Arcanist, Mercurial
cspeckmim updated the task description for T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing.
Sep 14 2021, 9:55 PM · Arcanist, Mercurial
cspeckmim created T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing.
Sep 14 2021, 9:49 PM · Arcanist, Mercurial

Sep 5 2021

cspeckmim closed T13665: The "arc amend" workflow does not work on Mercurial repositories as Resolved by committing rARCd246a0656259: Update ArcanistMercurialAPI to support getting the current commit ref.
Sep 5 2021, 7:25 PM · Mercurial, Arcanist

Sep 4 2021

cspeckmim added a revision to T13665: The "arc amend" workflow does not work on Mercurial repositories: D21716: Update ArcanistMercurialAPI to support getting the current commit ref.
Sep 4 2021, 4:56 AM · Mercurial, Arcanist

Sep 3 2021

cspeckmim updated the task description for T13665: The "arc amend" workflow does not work on Mercurial repositories.
Sep 3 2021, 9:47 PM · Mercurial, Arcanist
cspeckmim added a project to T13665: The "arc amend" workflow does not work on Mercurial repositories: Mercurial.
Sep 3 2021, 2:25 PM · Mercurial, Arcanist

Jul 26 2021

epriestley closed T13659: `arc land` may fail with missing rebase extension as Resolved.

I caught one cosmetic issue in D21711, but this works properly for me locally now. Thanks!

Jul 26 2021, 6:49 PM · Arcanist, Mercurial
epriestley added a revision to T13659: `arc land` may fail with missing rebase extension: D21711: Name extension as "arc-hg", not "arg-hg".
Jul 26 2021, 6:49 PM · Arcanist, Mercurial

Jul 21 2021

cspeckmim added a revision to T13659: `arc land` may fail with missing rebase extension: D21706: Update other usages of "hg rebase" to use the new extension-enabling function.
Jul 21 2021, 8:59 PM · Arcanist, Mercurial
epriestley added a comment to T13659: `arc land` may fail with missing rebase extension.

(After picking up D21697, the approach works properly in my environment where I originally ran into this, but there are a couple of rebase calls still present in ArcanistMercurialLandEngine that don't use the new API yet.)

Jul 21 2021, 4:44 PM · Arcanist, Mercurial

Jul 20 2021

cspeckmim added a revision to T13659: `arc land` may fail with missing rebase extension: D21697: Refactor how Mercurial runs commands that require extensions.
Jul 20 2021, 4:36 AM · Arcanist, Mercurial

Jul 19 2021

cspeckmim added a comment to T13659: `arc land` may fail with missing rebase extension.

I'm also surprised that rebase extension isn't enabled by default. I guess I have been turning it on in my default setup.

Jul 19 2021, 5:42 PM · Arcanist, Mercurial
cspeckmim claimed T13659: `arc land` may fail with missing rebase extension.

I like that idea. I'll take a look.

Jul 19 2021, 5:41 PM · Arcanist, Mercurial
epriestley added a comment to T13659: `arc land` may fail with missing rebase extension.

...perhaps we should consider a way to do this automatically or at least less-manually.

Jul 19 2021, 4:58 PM · Arcanist, Mercurial
epriestley triaged T13659: `arc land` may fail with missing rebase extension as Low priority.
Jul 19 2021, 4:32 PM · Arcanist, Mercurial

Mar 17 2021

epriestley moved T12618: Parse multiple commits and commit metadata from "hg log --patch" and "hg export" from Backlog to Diff Parsing on the Differential board.
Mar 17 2021, 7:07 PM · Arcanist, Mercurial, Differential, Conduit, Feature Request

Jun 11 2020

epriestley added a revision to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads: D21351: Improve "--hold", save/restore state, bookmark creation, and some warnings for "arc land" in Mercurial.
Jun 11 2020, 12:08 AM · Mercurial, Arcanist

Jun 10 2020

epriestley added a revision to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads: D21350: Correct some minor "arc land" workflow issues in Mercurial.
Jun 10 2020, 11:18 PM · Mercurial, Arcanist
epriestley added a revision to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads: D21349: Use a "branchmap" call to identify remote branches in "arc-hg".
Jun 10 2020, 10:36 PM · Mercurial, Arcanist
epriestley added a revision to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads: D21348: In "arc land" in Mercurial, inch closer to making complex branch/bookmark workflows function.
Jun 10 2020, 10:13 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

The current ls-remote script as written does not actually work; I think it only returns branches in the remote that:

Jun 10 2020, 10:04 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

The actual extension is a 100-line Python script...
The real Pandora's box this opens...

Jun 10 2020, 9:29 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

The real Pandora's box this opens is that now that arc is exposed to whatever issues arise with the raw Python/Mercurial API, there's a much weaker argument against not writing more extensions.

Jun 10 2020, 3:49 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

I put the extension in phabricator/ earlier by accident, but that was just me goofing my local paths. The extension is purely client side: hg can do ls-remote just fine (it's just "do hg pull, but stop half way through"), there's just no UI command for it.

Jun 10 2020, 3:42 PM · Mercurial, Arcanist
cspeckmim added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

Would the use of an extension make additional setup necessary for observed repositories vs. hosted repositories, or are observed repositories out of scope for these set of changes?

Jun 10 2020, 3:35 PM · Mercurial, Arcanist
epriestley added a revision to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads: D21344: In "arc land" in Mercurial, show a tidier "ls-remote" command.
Jun 10 2020, 3:30 PM · Mercurial, Arcanist

Jun 9 2020

epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

I am considering reviving the command server since I don't remember it having any critical failures, but offhand:

Jun 9 2020, 5:44 PM · Mercurial, Arcanist
epriestley added a revision to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads: D21343: Disambiguate various types of Mercurial remote markers with "hg arc-ls-remote".
Jun 9 2020, 5:27 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

I'm going to try writing a Mercurial extension instead.

Jun 9 2020, 4:23 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

I believe this is roughly the form we end up with, which is completely ridiculous and extremely difficult to test or have any confidence in:

Jun 9 2020, 3:27 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

As a tool developer, this kind of thing is infuriating:

Jun 9 2020, 3:14 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

This is also made more complicated because Mercurial branches and bookmarks are all in a single shared namespace to some degree. I'm not sure what happens if you try to fetch a bookmark that conflicts with a local branch name (presumably: it renames it as "divergent"?) or try to fetch a branch which conflicts with a local bookmark name (presumably: fails in a way that's hard to detect?).

Jun 9 2020, 2:14 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

When the user specifies arc land --onto marker, I'd like to identify whether marker is a bookmark or branch.

Jun 9 2020, 1:58 PM · Mercurial, Arcanist
epriestley moved T13214: When there is no remote Mercurial URI, `hg paths default` exits with an error code from Backlog to arc land on the Arcanist board.
Jun 9 2020, 1:07 PM · Mercurial, Arcanist

Jun 5 2020

epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

Just extracting a few blocks of old code for reference:

Jun 5 2020, 6:26 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

I may actually make the minimum version whichever version has this fix:

Jun 5 2020, 5:39 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

Today, arc land in Mercurial does not support the "merge" land strategy.

Jun 5 2020, 2:55 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

I am dropping support for versions of Mercurial older than 2.1.1 (released in May, 2012). This is the first version that: (a) has phases and (b) does not exit 1 when hg pull succeeds but fetches no changes.

Jun 5 2020, 2:15 PM · Mercurial, Arcanist
epriestley added a comment to T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads.

After changes connected to T13546, the git workflow now looks like this:

Jun 5 2020, 6:15 AM · Mercurial, Arcanist

Jun 4 2020

epriestley moved T9948: Modernize "arc land" for Mercurial: bookmark-to-branch, branch-to-self, multiple heads from Backlog to arc land on the Arcanist board.
Jun 4 2020, 3:09 AM · Mercurial, Arcanist

Feb 18 2019

vostok4 added a comment to T6118: Support for Mercurial extensions in hosted repositories.

I'd propose for simplicity that the focus switch from largefiles to lfs support for Mercurial repositories. lfs has been added to Phabricator for Git already T7789 and it seems that there'd be less work involved to piggyback on that.

Feb 18 2019, 10:55 PM · Mercurial, Diffusion

Oct 25 2018

epriestley triaged T13214: When there is no remote Mercurial URI, `hg paths default` exits with an error code as Low priority.
Oct 25 2018, 1:54 AM · Mercurial, Arcanist

May 16 2018

cspeckmim added a comment to T9548: Support Mercurial's bundle2 wire protocol.

Mercurial 4.6 has added hg help internals.bundle2 which will render a book to your console with details about the format/protocol. I did a high-speed skim and then tried out hg help internals.changegroup on a whim which produced an even longer book about the stream protocol (SSH only maybe?).

May 16 2018, 1:13 AM · Diffusion, Mercurial

Apr 11 2018

DanielO added a comment to T9450: "abort: not a Mercurial bundle" with Mercurial 3.5>=.

Actually turns out that the work around isn't reliable - I still get that error occasionally (I'm using SSH)

Apr 11 2018, 2:48 AM · Mercurial
DanielO added a comment to T9450: "abort: not a Mercurial bundle" with Mercurial 3.5>=.

The same problem occurred on my site with the latest Phabricator and the latest Mercurial 3.7.2 installed on both sides.

Interestingly, it can be cured setting a special development debug flag for in the Mercurial configuration file:
in /etc/mercurial/hgrc or in vcs-user's ${HOME}/.hgrc adding the following snippet

[devel]
bundle2.debug = true

caused a hg push to a hosted Phabricator repository to work without a problem. But do not ask me, why.

Apr 11 2018, 2:14 AM · Mercurial