Page MenuHomePhabricator

MercurialProject
ActivePublic

Recent Activity

Apr 22 2022

cspeckmim added a comment to T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing.

Browsing Diffusion (namely, loading a file while the published changeset is head, and trying to Skip past commit):

I couldn't immediately reproduce this; it's also probably a bit of a messy fix.

I'll plan to investigate further if possible. I believe in this case the repository was running in observed mode rather than hosted in case that might be a factor.

Apr 22 2022, 2:23 AM · Arcanist, Mercurial

Apr 20 2022

epriestley added a comment to T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing.

Browsing Revision

Apr 20 2022, 6:31 PM · Arcanist, Mercurial
epriestley added a revision to T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing: D21761: Fix an issue where Herald may fail to extract content from an empty commit.
Apr 20 2022, 4:53 PM · Arcanist, Mercurial
epriestley added a revision to T13667: Landing a mercurial revision which has no changes causes errors on the revision page as well as history viewing: D21760: Fix an issue where we may "min()" an empty array when viewing a revision with no changesets.
Apr 20 2022, 4:37 PM · Arcanist, Mercurial

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