Add a hook that prevents pushing a commit to an unintended repo
Categories
(Developer Services :: Mercurial: hg.mozilla.org, task)
Tracking
(Not tracked)
People
(Reporter: pehrsons, Assigned: pehrsons)
References
Details
Attachments
(1 file, 1 obsolete file)
The idea is to be able to mark a commit with e.g. REPO-elm
in the title and the push hook will then prevent this commit from being pushed to a repo other than elm
.
This will help us when doing libwebrtc merges on elm, if during the process of applying an upstream commit we have to create a temporary commit (that shouldn't be pushed to central) to keep the tree building and to let the process continue. The proper fix is then developed either on elm or central after the initial merge process is done, and the temporary commit gets removed during a rebase onto latest central.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D172067
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/0698b5050920
hooks: implement repo locked commits r=sheehan
Comment 4•1 year ago
|
||
This is deployed.
Description
•