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)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla29
People
(Reporter: Gijs, Assigned: Gijs)
Details
Attachments
(1 file)
|
2.63 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
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. :-)
Comment 1•11 years ago
|
||
You want to submit a patch? /tools/mercurial in the tree.
| Assignee | ||
Comment 2•11 years ago
|
||
Something like this? That extensions string seemes unused, so I removed it...
Attachment #8358051 -
Flags: review?(gps)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment 3•11 years ago
|
||
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+
| Assignee | ||
Comment 4•11 years ago
|
||
(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]
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla29
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•