This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1289514 - Consume pushlog version 2; r=catlee
Version 2 of the pushlog JSON was rolled out a long time ago - probably over a year ago. It is the preferred pushlog format to consume. So change hgpoller.py to consume it. The actual code changes were pretty simple: just add a query string parameter to the URL and process the "pushes" key of the JSON instead of the root object. While I was updating mocked JSON in the tests, I changed things to use 4 space indent instead of 1 space. The data came straight from hg.mozilla.org. MozReview-Commit-ID: 1Dzwx9Q61zL --HG-- extra : rebase_source : e06c5c0e37c9907feed0bb98ddca0287c0c5f0a6 extra : amend_source : 176c623e97f30e03f72a4c575aad2a51713562f1 extra : histedit_source : 4dbb92dde450a2e05fba70bbef0a5eb862bdfd9e
- Loading branch information
Showing
2 changed files
with
124 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters