Closed Bug 958302 Opened 11 years ago Closed 11 years ago

mercurial-setup should enable the rebase extension

Categories

(Firefox Build System :: Mach Core, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla29

People

(Reporter: Gijs, Assigned: Gijs)

Details

Attachments

(1 file)

As per summary. I was surprised to see `hg pull --rebase` fail on my newly setup ubuntu vm... hg-setup can just deal with that problem for us, I think. :-)
You want to submit a patch? /tools/mercurial in the tree.
Something like this? That extensions string seemes unused, so I removed it...
Attachment #8358051 - Flags: review?(gps)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment on attachment 8358051 [details] [diff] [review] offer the rebase extension through hg-setup, Review of attachment 8358051 [details] [diff] [review]: ----------------------------------------------------------------- FWIW, rebase isn't enabled by default because the Mercurial people consider it an advanced command. Once we add more "advanced" commands like this, we should consider adding some kind of message about what extensions are advanced so new users don't fall into traps. Let's worry about that later. ::: tools/mercurial/hgsetup/wizard.py @@ +149,5 @@ > print('') > > + if 'rebase' not in active: > + if self._prompt_yn('Would you like to enable the rebase extension ' > + 'to help maintain a linear history'): I'm going to nit this to: Would you like to enable the rebase extension to allow you to move changesets around (which can help maintain a linear history)
Attachment #8358051 - Flags: review?(gps) → review+
(In reply to Gregory Szorc [:gps] from comment #3) > ::: tools/mercurial/hgsetup/wizard.py > @@ +149,5 @@ > > print('') > > > > + if 'rebase' not in active: > > + if self._prompt_yn('Would you like to enable the rebase extension ' > > + 'to help maintain a linear history'): > > I'm going to nit this to: > > Would you like to enable the rebase extension to allow you to move > changesets around (which can help maintain a linear history) With that, remote: https://hg.mozilla.org/integration/fx-team/rev/fad63a2cefbe
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla29
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: