Closed Bug 1196869 Opened 8 years ago Closed 8 years ago

Record replication info when pushing

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Assigned: gps)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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+
Deploying now.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: 1196904
Blocks: 1197462
You need to log in before you can comment on or make changes to this bug.