Closed
Bug 1098349
Opened 12 years ago
Closed 11 years ago
[mozautomation] Add ability to specify custom repositories in an hgrc
Categories
(Developer Services :: Mercurial: firefoxtree, defect)
Developer Services
Mercurial: firefoxtree
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ahal, Unassigned)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4124] )
Firefoxtree is pretty awesome for working with firefox. It would be even more awesome if users could define their own custom repository urls to use a similar workflow.. either for non-official firefox trees, or completely unrelated trees.
For example I'd like to use a similar workflow with mozharness and ash-mozharness. For now I have to use bookmarks to keep track of the remote tip which is prone to user error.
Something like:
~/.hgrc
[firefoxtree]
mozharness = ssh://hg.mozilla.org/build/mozharness
ash-mozharness = ssh://hg.mozilla.org/build/ash-mozharness
user_gecko = ssh://hg.mozilla.org/users/username_mozilla.com/gecko
Would add the `mozharness`, `ash-mozharness`, and `user_gecko` tags whenever the respective repos are pulled from.
Updated•12 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4124]
Comment 1•12 years ago
|
||
The feature you really want here is remote refs in Mercurial. Part of me is reluctant to add yet more functionality to firefoxtree to implement remote refs when we could implement it properly as part of Mercurial core or a Mercurial extension.
There are some upstream patches to Mercurial that would introduce a generic "labels" concept. These would facilitate the writing of a proper remote refs extension.
In the mean time, yeah, I suppose we could hack something into firefoxtree. But it should be based on [paths], not a new section.
| Reporter | ||
Comment 2•11 years ago
|
||
I found another extension that does something similar:
http://mercurial.selenic.com/wiki/RemoteBranchesExtension
At least it solves my mozharness workflow. WONTFIXING this, probably best to keep firefoxtree focused on gecko.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Comment 3•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•