Closed
Bug 1127549
Opened 10 years ago
Closed 6 years ago
[pushes] pushes.utils._hg_repository_sync should be more resilient to 400 response for too many heads
Categories
(Webtools Graveyard :: Elmo, defect)
Webtools Graveyard
Elmo
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: Pike, Unassigned)
References
Details
In _hg_repository_sync, we're making sure our local clone has all changesets in the push data we're handling.
We're currently just kicking of a plain old hg pull, but that's getting 400 responses if there are too many heads, see bug 927219.
It'd be nice if we could just pull a particular revision, like the last one. That works for the most part, unless there's a single push on multiple branches. gps did one just the other day, so despite the fact that that's rare, it happens.
I wonder if the cleanest way is to iterate backwards through the revisions in the push, and if they don't resolve in the local clone, to pull that revision.
That should result in just one pull in the generic case, but would handle the case of multi-branch pushes, too.
Comment 2•10 years ago
|
||
This is a server configuration issue. It should get fixed soonish.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•10 years ago
|
||
I had to reopen the server bug, and given how my next week looks, let's get this at least on a branch and use it in prod.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Comment 4•10 years ago
|
||
https://github.com/mozilla/elmo/compare/develop...bug-1127549-hg-server-error-on-pull is what I'm going to test in the automation.
Reporter | ||
Comment 5•6 years ago
|
||
Resolving this, we didn't hit this for a long time, and the patch doesn't apply no more, either.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 6 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•