Closed Bug 1196869 Opened 8 years ago Closed 8 years ago
Record replication info when pushing
40 bytes, text/x-review-board-request
Right now, replication during push to hg.mozilla.org happens transparently. I'd like to add an info message during the push to note that replication occurred. I'd also like to print the elapsed time, so people know that replication (not Mercurial) is a big source of slowness.
hgserver: convert replication hook to a Python hook (bug 1196869); r?fubar We want all hooks to be Python because, well, Python hooks are more powerful. As part of this, we have the hook print replication status, including time taken to replicate. This will increase understanding of what takes so long during pushes. We change the names of the changegroup hooks to enforce sorting. And we put URL printing after replication because it looks nicer.
Attachment #8650628 - Flags: review?(klibby)
Comment on attachment 8650628 [details] MozReview Request: hgserver: convert replication hook to a Python hook (bug 1196869); r?fubar https://reviewboard.mozilla.org/r/16653/#review14933 Ship It!
Attachment #8650628 - Flags: review?(klibby) → review+
https://hg.mozilla.org/hgcustom/version-control-tools/rev/65c6c9b387b1a954194661e8745c062968224e4a hgserver: convert replication hook to a Python hook (bug 1196869); r=fubar
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.