Commit Graph

29 Commits

Author SHA1 Message Date
Chris Manchester
1e54e15081 Bug 1162093 - Add "push-to-try" from version-control-tools to the mercurial setup wizard prompt.;r=gps 2015-06-02 20:41:29 -07:00
Gregory Szorc
695e03ccdb Bug 1168466 - Prompt to install bundleclone extension; r=smacleod
We're about to deploy this to release automation. We might as well have
normal people start using it as well. We could perhaps even have the
extension print out information on how to resume interrupted downloads
someday, so it will pay to have this enabled so they can utilize that
feature some day in the future.

DONTBUILD (NPOTB)
2015-05-26 10:07:32 -07:00
Gregory Szorc
c936d3b54f Bug 1168466 - Bump minimum Mercurial version; r=smacleod
We dropped support for Mercurial 3.0 in version-control-tools. Bump
minimum versions in extensions to reflect this.

We highly recommend people run a modern Mercurial. Bump the minimum
non-legacy version to reflect that.
2015-05-26 10:00:52 -07:00
Ed Morley
042e9b2ca5 Bug 1164812 - mach mercurial-setup: Always mark the v-c-t repo as needing update
Currently we only mark the version-control-tools repo as needing updating, if
we did not pass a path param to prompt_external_extension(). This is because if
no path is passed, the extension is used from the version-control-tools repo,
and so if _no_ path is passed, it's presumed the extension is external to the
repo. However this is not always the case - eg if we need to specify a specific
file for an extension (vs the entire directory), we have to do so be passing in
the path. We hit this case for reviewboard.

With this change, we always mark the version-control-tools repo as needing an
update, no matter where the extension was located.
2015-05-19 09:41:38 +01:00
Ed Morley
a336062d58 Bug 978514 - mach mercurial-setup: Use mqext from the version-control-tools repo
mqext was moved into the version-control-tools repo some time ago, but mach
mercurial-setup was still pointing at the old repo location, which is no longer
being updated.
2015-05-19 09:41:38 +01:00
Gregory Szorc
1a387aed07 Bug 1128586 - Prefer hg.exe over hg; r=RyanVM
This is needed for compatibility with an upcoming release of
MozillaBuild, which distributes Mercurial as a Python package, not as a
standalone Windows program. As a result, it introduces "hg" into $PATH,
which "which" will happily prefer as the "hg" binary. This upsets
subprocess. So, we explicitly prefer "hg.exe" over "hg".

We could accomplish the same thing by calling which.whichall() and
sorting results. But this is more code and IMO not worth the effort to
implement.
2015-04-27 10:43:49 -07:00
Stéphane SCHMIDELY
07d2dc3234 Bug 1144629 - UnicodeDecodeError in ./mach mercurial-setup. r=gps, r=glandium 2015-03-25 12:25:49 +01:00
Dawid Pura
b87f383c36 Bug 1077326 - Change mercurial-setup process by adding run test for each external extension before prompting about it. r=glandium 2014-11-25 10:53:00 +01:00
Andrew Halberstadt
d8d7dcbb94 Bug 1101773 - Add an --update-only option to |mach mercurial-setup| for updating extensions without running the wizard, r=gps 2014-11-19 15:01:04 -05:00
Andrew Halberstadt
c89ea5ca9b Bug 1092149 - Use LooseVersion instead of StrictVersion in |mach mercurial-setup| so release candidates work, r=gps 2014-10-31 15:09:39 -04:00
Rémy Ferré
dd6bf79de3 Bug 1058845 - Decode raw_input() as UTF-8; r=gps
DONTBUILD (NPOTB)
2014-10-24 15:27:40 -07:00
Patrick Cloke
ec78f0dd95 Bug 1047592 - mercurial-setup should error when trying to read a config with %include. r=gps 2014-08-05 09:42:33 -04:00
Gregory Szorc
46ac5a0b54 Bug 1039894 - Add bzpost and firefoxtree to mach mercurial-setup; r=smacleod
bzpost is an efficiency win for everyone.

firefox tree is mostly useful for people doing head/bookmark-based
development.

Both extensions can yield massive productivity wins. They should be
advertised.

DONTBUILD (NPOTB) on a CLOSED TREE
2014-07-16 19:18:49 -07:00
Chris Kitching
b0143a9218 Bug 1039164: Prettier handling of invalid hgrc files by mach. r=gps 2014-07-17 01:21:06 +01:00
Gregory Szorc
96c0ce82ef Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.
2014-07-02 14:05:42 -07:00
Ed Morley
e725a6e53f Bug 977961 - mach mercurial-setup: Avoid prompting to enable mqext auto-commit when already enabled; r=gps
DONTBUILD (NPOTB)
2014-02-28 16:43:01 +00:00
Ed Morley
457d3733d2 Bug 977414 - mach mercurial-setup: Fix hgrc paths for extensions on Windows; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley
ab34156af0 Bug 977384 - mach mercurial-setup: Remaining cleanup; r=gps 2014-02-27 10:10:22 +00:00
Ed Morley
4c7e2ff5dd Bug 977384 - mach mercurial-setup: Refactor part 2; r=gps 2014-02-27 10:10:21 +00:00
Ed Morley
a2f8ea1f63 Bug 977384 - mach mercurial-setup: Refactor part 1; r=gps 2014-02-27 10:10:20 +00:00
Ed Morley
baff5b4a5d Bug 976892 - Update mach mercurial-setup to use qimportbz from it's new home in version-control-tools; r=gps
qimportbz is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.

DONTBUILD (NPOTB)
2014-02-26 17:28:09 +00:00
Gregory Szorc
b89946f97f Bug 968259 - Update mach mercurial-setup to work with new unified VCS tools repo; r=ted
bzexport is now pulled from its new canonical home. The old location can
be cleaned if the user agrees to it. The new location is updated in the
hgrc.

DONTBUILD (NPOTB)
2014-02-05 14:12:15 -08:00
Gijs Kruitbosch
b867300e71 Bug 958302 - offer the rebase extension through hg-setup, r=gps
DONTBUILD
2014-01-10 12:13:37 +00:00
Gregory Szorc
13fca93a5e Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
DONTBUILD (NPOTB)
2013-11-21 12:19:32 -08:00
Ed Morley
95589c5655 Bug 909937 - Output more useful error messages for |mach mercurial-setup| parsing exceptions; r=gps 2013-09-26 13:36:50 +01:00
Gijs Kruitbosch
3d473ad513 Bug 902529 - Also check mercurial.ini on Windows, r=gps, DONTBUILD (NPOTB) 2013-09-13 10:50:28 +02:00
Jonas Finnemann Jensen
27c9292591 Bug 910658 - Add "qnew = -U" to defaults section in mach mercurial-setup; r=gps
DONTBUILD (NPOTB)
2013-09-04 15:32:00 -07:00
Gregory Szorc
df7b52ea9d Bug 909867 - Fix case on WhichError in mercurial setup wizard; r=trivial
DONTBUILD (NPOTB)
2013-08-27 11:44:54 -07:00
Gregory Szorc
d81c4f42d0 Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)
2013-07-29 16:58:40 -07:00