Page MenuHomePhabricator
Feed All Stories

Jul 13 2021

epriestley added a comment to D21682: Add a prompt to allow pruning merged branches when using --hold.

I take it these disparate trees have some limitations? Do they always apply to the working directory or something?

Jul 13 2021, 2:42 PM
cspeckmim added a comment to D21682: Add a prompt to allow pruning merged branches when using --hold.

In Git, we can just create new commits floating out in the middle of nowhere -- not on any branch, and not the ancestor of any labeled commit -- that you can retrieve if you know the hash but aren't otherwise reachable or visible to users without using very low-level commands. This isn't normally useful for human users, but it's great for reducing side effects in arc land, since we can do all our work in a sort of temporary scratch area that automatically gets cleaned up later.

Woah, yea I don't think there's anything like this in Mercurial. I take it these disparate trees have some limitations? Do they always apply to the working directory or something?

Jul 13 2021, 3:45 AM

Jul 12 2021

epriestley added a comment to D21682: Add a prompt to allow pruning merged branches when using --hold.

I'm still piecing together Git's handling of branches in my mind as I have used Mercurial for so long.

Jul 12 2021, 5:55 PM
cspeckmim added a comment to D21682: Add a prompt to allow pruning merged branches when using --hold.

Just thinking aloud to myself

Off-hand I don't know of a solution that could provide that same guarantee for cherry-picking. Our current process also requires that the engineer who authored the fix is the one responsible for merging it, rather than having release engineers or an unlucky engineer responsible for performing all merges into the subsequent versions.

This could probably be handled by having the server-side hook check for commits with the same task number, as we require all commits to start with a task number. It's not as "comfortable" as ensuring the same changeset exists in the branch but since the changesets require merge commits which can potentially introduce incorrect merges that comfort might be just as misleading.

Jul 12 2021, 2:18 PM
cspeckmim abandoned D21682: Add a prompt to allow pruning merged branches when using --hold.

The commits created as a side effect of arc land --hold aren't actually deleted explicitly, but they're effectively gone in Git as soon as you update your working copy to any other state. I'm not sure how closely this holds (or can hold) in Mercurial.

Ah yea this is one difference with Mercurial and Git's treatment of branches. In Mercurial there is no automatic cleanup, so things must be stripped/pruned manually before they will go away -- regardless of whether they're tagged with a bookmark or not. I'm still piecing together Git's handling of branches in my mind as I have used Mercurial for so long. Conceptually I know how I want to manipulate the repository but then things happen which reveal that how I'm thinking the repository is laid out isn't what Git's doing (Arcanist has been very useful in this respect).

Jul 12 2021, 3:56 AM
cspeckmim closed D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 12 2021, 3:41 AM
cspeckmim committed rARCa43a3a9aabe2: An assortment of fixes and updates to using arc-land with mercurial (authored by cspeckmim).
An assortment of fixes and updates to using arc-land with mercurial
Jul 12 2021, 3:41 AM
epriestley added a comment to D21682: Add a prompt to allow pruning merged branches when using --hold.

Would the expectation then be that running arc land again would remove the rebased/squashed commits created by --hold, so the result would be as if they hadn't run --hold previously?

Jul 12 2021, 2:53 AM
20after4 committed rPa0b91de535af: New MediaWiki logo for the icon that represents the MediaWiki oauth provider. (authored by 20after4).
New MediaWiki logo for the icon that represents the MediaWiki oauth provider.
Jul 12 2021, 1:28 AM
20after4 closed D21661: New MediaWiki logo for the icon that represents the MediaWiki oauth provider..
Jul 12 2021, 1:28 AM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Remove TODO from ArcanistMercurialWorkingCopyRevisionHardpointQuery. Add some comments to functions in ArcanistLandEngine.

Jul 12 2021, 12:12 AM
cspeckmim published D21682: Add a prompt to allow pruning merged branches when using --hold for review.

Oh just noticed your comment on this, marking for review so emails go out (I don't plan to make further changes here).

Jul 12 2021, 12:03 AM

Jul 11 2021

epriestley added a comment to T13652: Notes on Ardunio CNC drivers.

There are a bunch of libraries to help with this that I obviously won't be using because I didn't write them...

Jul 11 2021, 11:31 PM
epriestley added a comment to T13652: Notes on Ardunio CNC drivers.

im a wizard

Jul 11 2021, 11:23 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

If I want to go spelunking later to see about improving/adding this behavior is this the right place to do this or is there another place this TODO should go?

Jul 11 2021, 11:18 PM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Made updates from comments. Re-ran the "Landing a non-tip revision" test and everything still looks good.

Jul 11 2021, 9:24 PM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

I'll make these last few minor updates and do a quick few tests to make sure everything is still in working order

Jul 11 2021, 8:58 PM
epriestley accepted D21680: An assortment of fixes and updates to using arc-land with mercurial.

If there was a way to run the rebase --abort and discard the result of that it would probably be best.

Jul 11 2021, 7:17 PM
epriestley added a comment to T12071: Require "E" be defined in variables_order so $_ENV is correctly populated.

I think not all versions of Windows + PHP require adjusting php.ini, but some nontrivial subset do -- enough that arc itself emits some flavor of guidance on this:

Jul 11 2021, 6:17 PM · Infrastructure
epriestley closed T11371: Restore PHP to Glory as Wontfix.

This is no longer my fight.

Jul 11 2021, 6:03 PM · Public & Media Relations
cspeckmim added a comment to T12071: Require "E" be defined in variables_order so $_ENV is correctly populated.

One thought here is that updating variables_order is fine on the server, but I really don't want to force arc users to muck with php.ini.

This seems to be resolved already but just wanted to add a note - I believe Windows users currently need to modify php.ini to enable the curl extension for arcanist to work. This is from our internal documentation for installing PHP for arcanist:

Browse to C:\tools\php[some version number]. Edit php.ini as listed below.

  • Note: The following modifications remove the semi-colon at the start of the line. Semi-colons are comments in .ini files and these changes are uncommenting and updating the lines.
    • Find the line ;extension=curl and remove the semicolon.
    • Locate the line ;date.timezone = and replace it with date.timezone = UTC to prevent PHP from yelling at you.
Jul 11 2021, 3:21 PM · Infrastructure
cspeckmim added a revision to T13546: Modernize the "arc land" workflow: D21682: Add a prompt to allow pruning merged branches when using --hold.
Jul 11 2021, 5:57 AM · Arcanist

Jul 10 2021

cspeckmim retitled D21680: An assortment of fixes and updates to using arc-land with mercurial from Put repository in a more-expected state when using `arc land` with mercurial to An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 11:44 PM
cspeckmim updated the summary of D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 11:38 PM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

Sorry for the churn on this, it sorta became a whackamole for an assortment of issues I ran into. I think most of the test cases I've tried out now indicate that the behavior is pretty solid at this point. For now I don't have any remaining test cases to cover and I think this is in a state for review.

Jul 10 2021, 11:01 PM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Uncovered an issue when using the evolve extension, in which landing a non-tip revision would leave behind a set of commits in a hideous state.

Jul 10 2021, 10:50 PM
cspeckmim updated the test plan for D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 9:20 PM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Don't actually unset the found rebased active commit. Not sure why I thought that was a good idea.

Jul 10 2021, 9:08 PM
cspeckmim updated the test plan for D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 8:21 PM
cspeckmim added inline comments to D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 8:17 PM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Just did another pass-through of all these changes to do some cleanup.

  • Removed an old line of code I was testing out trying to handle multiple onto-markers when restoring the working state
  • Updated some comments and formatting of marker ref queries
  • Found some logic which didn't quite carry over from refactoring of newPushCommands() in handling of cleaning up markers to be deleted
Jul 10 2021, 8:12 PM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Whoops - that last change results in the same original behavior. It turns out confirmCommits() reverses the order that selectCommits() creates.

Jul 10 2021, 7:37 PM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

To confirm the min/max change I reviewed the revset x..y documentation along with the expected ordering of commits in the ArcanistLandCommitSet, then renamed + added some comments to clarify this behavior.

Jul 10 2021, 7:25 PM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

I normally use arc:bookmark however I recently switched it to arc:this so it's also compatible with git. All of my tests I've run currently were using arc:this.

Went back through https://secure.phabricator.com/book/phabricator/article/arcanist_commit_ranges/ and realized I can specify a ruleset of arc:bookmark, arc:this to get the behavior I want in both mercurial and git. Huzzah!

Jul 10 2021, 6:46 PM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

I'm guessing the --base argument would affect what commits get snagged up during landing (or is that captured during diff phase only?)

Ah it looks like the --base flag isn't part of diff workflow

$ arc land test --base arc:bookmark
Usage Exception: Argument "--base" is unrecognized. Use "--" to indicate the end of flags.
Jul 10 2021, 6:43 PM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

I'm going to do a few more tests -- I'm guessing the --base argument would affect what commits get snagged up during landing (or is that captured during diff phase only?). I normally use arc:bookmark however I recently switched it to arc:this so it's also compatible with git. All of my tests I've run currently were using arc:this.

Jul 10 2021, 6:29 PM
epriestley added inline comments to D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 3:24 PM
cspeckmim added inline comments to D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 6:05 AM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Add back in the rebase --abort for now

Jul 10 2021, 6:03 AM
cspeckmim updated the summary of D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 5:53 AM
cspeckmim updated the test plan for D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 5:48 AM
cspeckmim added inline comments to D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 5:40 AM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

When landing from a working directory that isn't in the set of changes being landed, restore the working directory to that commit after the land.

Jul 10 2021, 5:25 AM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

Not-working state test

  • I created a diff with an inactive bookmark test but working directory on an older commit not related to the one being landed
  • I landed that diff
  • I verified the ending resulting working state was on the older commit I was on prior to landing
Jul 10 2021, 3:35 AM
cspeckmim updated the summary of D21680: An assortment of fixes and updates to using arc-land with mercurial.
Jul 10 2021, 3:21 AM
cspeckmim added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

Doing a basic test this behavior looks good

$ hg wip
@   19:823c7457b7ef cspeck (30 seconds ago) tip test             <- draft commit to be landed, working state when running `arc land`
|     test commit
| o   17:33c3ae4d1277 cspeck (8 minutes ago) master
|/      test commit
o   14:82892d507c28 cspeck (24 minutes ago)
|     test commit
~
Jul 10 2021, 3:11 AM
cspeckmim updated the diff for D21680: An assortment of fixes and updates to using arc-land with mercurial.

Determine whether the working directory was rebased, and if so update to it during reconcileLocalState()

Jul 10 2021, 3:06 AM

Jul 9 2021

epriestley closed T13656: Automate the Phacility export process, as a support action as Resolved.

For now, this has been working fine as a simple CLI flow.

Jul 9 2021, 4:39 PM · Phacility
epriestley closed T13657: Allow "watcher" packages to have dominion without permitting owners to force accept as Resolved.
Jul 9 2021, 4:38 PM · Owners
cspeckmim committed rPe5de7f08436d: Update templates used with mercurial to remove '--debug' (authored by cspeckmim).
Update templates used with mercurial to remove '--debug'
Jul 9 2021, 4:35 PM
cspeckmim closed D21679: Update templates used with mercurial to remove '--debug'.
Jul 9 2021, 4:35 PM
cspeckmim closed D21681: Update templates used with mercurial to remove '--debug'.
Jul 9 2021, 4:35 PM
cspeckmim committed rARC514c12366b63: Update templates used with mercurial to remove '--debug' (authored by cspeckmim).
Update templates used with mercurial to remove '--debug'
Jul 9 2021, 4:35 PM
epriestley accepted D21679: Update templates used with mercurial to remove '--debug'.

When using --template I think I was not properly escaping quotes for how they are eventually invoked when launching the process

Jul 9 2021, 4:27 PM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

To sum up what I think the issues I ran into last night were

  1. I was not purging caches when switching versions of mercurial or when making changes to DiffusionMercurialBlameQuery
  2. I had improperly inverted strpos(':', $line) instead of strpos($line, ':')
  3. When using --template I think I was not properly escaping quotes for how they are eventually invoked when launching the process
Jul 9 2021, 4:25 PM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

There's one minor bug with annotations using mercurial 4.2 for file lines that contain : not being annotated but it works on 5.8.

This was because I had made modifications to the resolveBlameFuture() in my testing. I undid these changes and things are working again. I tested both mercurial 5.8 and 4.4, purging all caches in between and verifying that annotations and history appear correctly, including annotations of files with code lines including ':'.

Jul 9 2021, 4:22 PM
cspeckmim updated the diff for D21679: Update templates used with mercurial to remove '--debug'.

Update the handling of template arguments to avoid using quotes around the template being used

Jul 9 2021, 4:20 PM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

I've been incorporating ./bin/cache purge --all into my test process and things are making a lot more sense now. I'll hopefully have some changes up here shortly. There's one minor bug with annotations using mercurial 4.2 for file lines that contain : not being annotated but it works on 5.8.

Jul 9 2021, 4:11 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Ah, yes; DiffusionBlameQuery has a cache.

Jul 9 2021, 3:28 PM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Is it possible the annotate results are cached somewhere and might be causing some of the inconsistency I’m seeing?

Jul 9 2021, 5:35 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

I'll take another look tomorrow. Somehow I managed to get the code to emit output and found the issue with strpos() but then after fixing that it now seems busted again for both versions of mercurial. No exceptions are happening but it's not actually building up the annotation data properly (which is just the ordered list of the commit hashes I think?)

Jul 9 2021, 5:16 AM
cspeckmim updated the diff for D21679: Update templates used with mercurial to remove '--debug'.

Fix strpos()

Jul 9 2021, 5:14 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Best guess is that it's maaaaaaybe because we pass HGPLAIN=1 in the environment (DiffusionMercurialCommandEngine) and your version of Mercurial has annotate set up as an extension? That seems like a big stretch, but wouldn't show up.

I don't believe annotate is setup as an extension. This is our global .hgrc

/etc/mercurial/hgrc.d/managed_settings.rc
# Ansible managed
Jul 9 2021, 4:45 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

I added some logs and then removed them but functionality nothing else should have changed (except the --template quoting I mention) and now when running hg 4.4 it no longer errors, but it the blame doesn't list changesets (but does put color next to the lines which I think is just a default if nothing was found?)

Jul 9 2021, 4:02 AM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

is there an easy way to log the command that will run from the CommandFuture?

Jul 9 2021, 3:43 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Buh there must be something going on in the environment that's causing issues. I logged out the command it's running and tried running it directly in the repo

[cspeck@repo-testing1 85]$ hg --version
Mercurial Distributed SCM (version 4.4.2)
(see https://mercurial-scm.org for more information)
Jul 9 2021, 3:11 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Oh that error happens when resolveBlameFuture() returns null because there was a problem invoking the command... looking a little more into what issue is happening

Jul 9 2021, 2:57 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Hmm this is the error I'm getting when using mercurial 4.4

2021/07/08 22:35:31 [error] 9693#9693: *1 FastCGI sent in stderr: "
Jul 9 2021, 2:39 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

I setup mercurial to run version 4.4, created a new repository, added some commits, and verified all the above behavior still works properly.

This isn't quite true -- annotations don't appear to be showing up. I'll take a quick look

Jul 9 2021, 2:27 AM
cspeckmim updated the summary of D21679: Update templates used with mercurial to remove '--debug'.
Jul 9 2021, 2:26 AM
cspeckmim updated the diff for D21679: Update templates used with mercurial to remove '--debug'.

More updates based on comments. Tested out history view and annotation view and things look good.

Jul 9 2021, 2:06 AM
cspeckmim added inline comments to D21679: Update templates used with mercurial to remove '--debug'.
Jul 9 2021, 1:57 AM
cspeckmim updated the diff for D21679: Update templates used with mercurial to remove '--debug'.

Fix a regex typo and add back in the trim() on the hash

Jul 9 2021, 1:33 AM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

%C ("raw, unescaped comment")

Jul 9 2021, 1:32 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Found one issue, which seems to fix the improper graph structure but now it's rendering disjointly

Screen Shot 2021-07-08 at 9.29.25 PM.png (2×354 px, 127 KB)

Jul 9 2021, 1:31 AM
cspeckmim planned changes to D21679: Update templates used with mercurial to remove '--debug'.

Something isn't quite right here. Looking at the history of a repo, the graph rendering doesn't match what it was previously doing

Jul 9 2021, 1:23 AM
epriestley added a comment to D21681: Update templates used with mercurial to remove '--debug'.

😎

Jul 9 2021, 1:19 AM
cspeckmim updated the diff for D21679: Update templates used with mercurial to remove '--debug'.

Run arc liberate for the new test file

Jul 9 2021, 1:05 AM
Harbormaster failed remote builds in B25421: Diff 51618 for D21679: Update templates used with mercurial to remove '--debug'!
Jul 9 2021, 1:03 AM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

forgot to submit my comments~

Jul 9 2021, 1:03 AM
cspeckmim updated the diff for D21679: Update templates used with mercurial to remove '--debug'.

Do capability-check for using hg annotate --template vs --debug, set the required version to 2.4, address other comments

Jul 9 2021, 1:02 AM
cspeckmim updated the diff for D21681: Update templates used with mercurial to remove '--debug'.

Adding a capability check for hg annotate --template

Jul 9 2021, 1:01 AM

Jul 8 2021

epriestley added a comment to T13658: How to rebrand Phabricator.

Ah okay, I'll do some other testing. I was also wondering if there would be cases in Phabricator where something is doing something like if (get_class($a) == 'PhabricatorEnv') {... which if so I'm guessing would cause failures.

Jul 8 2021, 10:48 PM
cspeckmim added a comment to T13658: How to rebrand Phabricator.

One other case where "Phabricator" appears is in HTTP and Email headers, e.g. X-Phabricator-XYZ. For a separate project wanting to update these I think a slow migration approach is needed, to allow recipients currently expecting the existing fields. I'm guessing there isn't a reasonable change here for the upstream.

Depending on how many of these we end up with, I think an email-header-prefix sort of config option might be reasonable.

Oh and then for existing installs this would just default to X-Phabricator-XYZ to continue with existing behavior?

Jul 8 2021, 9:21 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

"Cascading" is updating all local refs which depend on refs that were selected-and-modified by the land operation. So if you have dependent features in several dependent branches named change1 -> change2 -> change3 locally, and arc land change2, we want to (in the general case) rebase your local change3 onto the landed version of change2 so that it no longer has out-of-date ancestors.

Jul 8 2021, 8:25 PM
cspeckmim added a comment to D21679: Update templates used with mercurial to remove '--debug'.

This specific issue is probably the relevant one, the other thing linked from there looks like it's just a --debug problem, which this patch should fix.

https://discourse.phabricator-community.org/t/error-cloning-mercurial-repository-http-after-first-install/1200/2

Jul 8 2021, 8:17 PM
cspeckmim planned changes to D21680: An assortment of fixes and updates to using arc-land with mercurial.

Thank you for the tips.

Jul 8 2021, 8:13 PM
cspeckmim planned changes to D21679: Update templates used with mercurial to remove '--debug'.
  1. Bring the 2.4 version bump upstream, without directly addressing annotate --debug.
  2. Deal with annotate --debug by either:
    1. bumping the minimum version to 4.6 in your fork and using --template; and/or
    2. defining another Mercurial version capability test for annotate --template and selecting that in versions of Mercurial which support it (this can come upstream).

Your call on whether you want to do the legwork on (2B).

I'll plan to do (2B) now that I'm more familiar/comfortable with the version-checking approach. Bumping the required version to something so much newer isn't really justified for this, especially considering the versions that are available on official distribution packages (centos7 currently has mercurial-2.6). Using --template for newer versions will be less error-prone though so I'll do the legwork. I'll try to get something up later tonight.

Jul 8 2021, 7:40 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

This specific issue is probably the relevant one, the other thing linked from there looks like it's just a --debug problem, which this patch should fix.

Jul 8 2021, 7:08 PM
epriestley added a comment to D21679: Update templates used with mercurial to remove '--debug'.

Requiring very recent Mercurial may also run into issues described here:

Jul 8 2021, 7:07 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

reconcileLocalState() is another possible place to put the post-push update logic -- that runs exactly once, and a little later.

Jul 8 2021, 7:01 PM
epriestley added a comment to D21680: An assortment of fixes and updates to using arc-land with mercurial.

A possible approach would be to try to put the "failure" commands into ArcanistMercurialLocalState. I think that would look like snapshotting every bookmark (not just the active one), and then resetting all bookmarks when restoring state. I'm not really sure if this would be better -- your approach seems fairly reasonable to me, and has the advantage of doing all the bookmark management pretty narrowly in one place, and this should be the only place that this work needs to happen. Offhand, I think I favor the approach you've taken here.

Jul 8 2021, 7:00 PM
epriestley added a comment to T13658: How to rebrand Phabricator.

One other case where "Phabricator" appears is in HTTP and Email headers, e.g. X-Phabricator-XYZ. For a separate project wanting to update these I think a slow migration approach is needed, to allow recipients currently expecting the existing fields. I'm guessing there isn't a reasonable change here for the upstream.

Jul 8 2021, 6:36 PM
epriestley requested changes to D21679: Update templates used with mercurial to remove '--debug'.

Ah, I didn't realize annotate --template arrived so recently. Phacility production has Mercurial 2.8.2 and I can't easily fix that at the moment, so I don't want to bring version bump all the way to 4.6 upstream today. I'm okay with the jump to 2.4 upstream, and also okay with leaving annotate --debug without filtering upstream (since no one has complained in all this time, and not addressing it doesn't make things worse). So I'd propose:

Jul 8 2021, 6:14 PM
epriestley accepted D21681: Update templates used with mercurial to remove '--debug'.
Jul 8 2021, 5:46 PM
epriestley closed D21678: Remove some "Phacility" and "epriestley" references.
Jul 8 2021, 5:46 PM
epriestley committed rP5521f76fe406: Remove some "Phacility" and "epriestley" references (authored by epriestley).
Remove some "Phacility" and "epriestley" references
Jul 8 2021, 5:46 PM
cspeckmim published D21680: An assortment of fixes and updates to using arc-land with mercurial for review.

This is still in early stage but marking for review because I wanted to get some early feedback if I'm on the right track. With these changes when I land a diff with other arbitrary local commits the pull -B master that it ends up running does pull down and update the local master bookmark to the right revision, on a hosted mercurial repository. The changes to splitting the $tail command array into two separate arrays feels a bit off to me. As for updating the working directory I think that change is going to be a bit more involved but I'm not sure if that's something appropriate to be done in pushChange() or that should happen higher up in ArcanistLandEngine::exeute() by adding some other functions to be overridden by the different engines or similar.

Jul 8 2021, 4:14 AM
cspeckmim updated the diff for D21681: Update templates used with mercurial to remove '--debug'.

"fix" "typos"

Jul 8 2021, 3:58 AM
cspeckmim added inline comments to D21681: Update templates used with mercurial to remove '--debug'.
Jul 8 2021, 3:57 AM