Closed Bug 1228580 Opened 9 years ago Closed 9 years ago

./mach mercurial-setup should use ~ to set up extension paths, not my literal home directory

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: strugee, Unassigned)

Details

Attachments

(1 file)

Mach should use paths with ~ to set up extension paths, instead of actually spelling out the path to my home directory. E.g. Mach wants:

> bzexport = /home/alex/.mozbuild/version-control-tools/hgext/bzexport

but

> bzexport = ~/.mozbuild/version-control-tools/hgext/bzexport

is better. AFAICT this doesn't break anything and it allows those of us who version-control configuration files to more easily use our .hgrc across machines.
Attached patch patch v1Splinter Review
Attachment #8693118 - Flags: review?(gps)
Comment on attachment 8693118 [details] [diff] [review]
patch v1

Review of attachment 8693118 [details] [diff] [review]:
-----------------------------------------------------------------

When you filed the bug I thought this would be more than a one-liner. Nice!
Attachment #8693118 - Flags: review?(gps) → review+
Keywords: checkin-needed
So did I. Thanks(In reply to Gregory Szorc [:gps] from comment #2)

> When you filed the bug I thought this would be more than a one-liner. Nice!

So did I. And thanks!
https://hg.mozilla.org/mozilla-central/rev/fed8eacf1523
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: