Closed
Bug 1174073
Opened 10 years ago
Closed 10 years ago
changeset propagation from the hg master to the webheads broke (larch repo)
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: paul, Unassigned)
Details
We can't push to larch anymore:
> pushing to ssh://hg.mozilla.org/projects/larch
> searching for changes
> remote has heads on branch 'default' that are not known locally: 5b5a2fd267f1
> abort: push creates new remote head c131b9031158!
> (pull and merge or see "hg help push" for details about pushing new heads)
Not sure what happened. And I don't know how to solve this.
It's started here: https://bugzilla.mozilla.org/show_bug.cgi?id=1172422#c4
Comment 2•10 years ago
|
||
> pushing to ssh://hg.mozilla.org/projects/larch
> searching for changes
> remote has heads on branch 'default' that are not known locally: 5b5a2fd267f1
This is saying the repo you are pushing to has content that you don't have locally.
> abort: push creates new remote head c131b9031158!
This is saying that your push would create divergence on the server. e.g. here's the current state:
<common base> --- <unknown commits> --- 5b5a2fd267f1 (remote head)
\
\
- <unknown commits> --- c131b9031158 (local head)
> (pull and merge or see "hg help push" for details about pushing new heads)
This is generic advice from Mercurial. It also happens to be wrong. At Mozilla, we generally prefer linear repository histories as opposed to merging. So, the solution to this is:
$ hg pull <remote>
$ hg rebase -d tip
This will fetch content from the remote repo and then rebase the current head on top of what you just pulled.
You may also want to read https://mozilla-version-control-tools.readthedocs.org/en/latest/hgmozilla/bookmarks.html#understanding-head-based-development
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(gps)
Resolution: --- → INVALID
Comment 3•10 years ago
|
||
The thing is that https://hg.mozilla.org/projects/larch/rev/5b5a2fd267f1 doesn't exist... This was created when I pushed in bug 1172422. I got no error on my side, but that was just when the troubles started that led to the super long tree closure.
Reporter | ||
Comment 4•10 years ago
|
||
`hg rebase` tells me there's nothing to rebase. `hg merge` tells me there's nothing to merge.
Status: RESOLVED → REOPENED
Flags: needinfo?(gps)
Resolution: INVALID → ---
Reporter | ||
Comment 5•10 years ago
|
||
hg incoming from https and ssh gives me different results.
> <Pike> then the changeset propagation from the hg master to the webheads broke
Reporter | ||
Updated•10 years ago
|
Summary: Can't push to ssh://hg.mozilla.org/projects/larch → changeset propagation from the hg master to the webheads broke (larch repo)
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(hwine)
Comment 6•10 years ago
|
||
I triggered a sync from ssh master to the http mirrors and confirmed the ssh and http servers are in sync.
Flags: needinfo?(gps)
s/b good - reopen and/or ping in #vcs if you see any remaining issues
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•