Closed
Bug 574662
Opened 15 years ago
Closed 11 years ago
Move pushlog back from changegroup to pretxnchangegroup hook?
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: axel, Unassigned)
Details
I was wondering if we can move pushlog back to the pretxn hook, like this:
Enable the single-head hook in the global hgrc before the pushlog hook, and make it check a setting in the repo on whether it is actually supposed to guard, same for tree status.
Could be something like
[mozhooks]
single-head=1
tree-status=1
in the local .hg/hgrcs for the repos where we want them.
The fact that we already seen tickets to get manual clean up on our pushlog dbs concerns me a good deal, and this should enable us to work around that.
Comment 1•15 years ago
|
||
This is more of a Server Ops bug than Hg: Customization, since nobody but IT can fiddle with the hg setup on hg.mo.
| Reporter | ||
Comment 2•15 years ago
|
||
We would need to patch the hooks first, though.
| Assignee | ||
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Comment 3•11 years ago
|
||
pretxnchangegroup is the proper place for the hook. The bug that needs fixed is to have the pushlog roll back if the transaction is aborted.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•11 years ago
|
Product: Release Engineering → Developer Services
You need to log in
before you can comment on or make changes to this bug.
Description
•