Closed
Bug 1213912
Opened 10 years ago
Closed 10 years ago
hgremotenames causes push failures
Categories
(Developer Services :: General, task)
Developer Services
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1195360
People
(Reporter: dustin, Unassigned)
Details
With hgremotenames (latest) enabled:
dustin@euclid ~/code/moz/t/mozharness $ hg push -r . upstream
pushing to ssh://hg.mozilla.org/build/mozharness
searching for changes
abort: push would create new anonymous heads (7405323aa109)
(use --force to override this warning)
dustin@euclid ~/code/moz/t/mozharness $ hg push -r . --traceback upstream
pushing to ssh://hg.mozilla.org/build/mozharness
searching for changes
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 163, in _runcatch
return _dispatch(req)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 895, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 656, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib64/python2.7/site-packages/hgext/pager.py", line 130, in pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib64/python2.7/site-packages/hgext/color.py", line 525, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 1013, in _runcommand
return checkargs()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 982, in checkargs
return cmdfunc()
File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 892, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/home/dustin/code/moz/.mozbuild/version-control-tools/hgext/reviewboard/client.py", line 203, in pushcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/home/dustin/code/moz/t/mozharness/.hg/hgremotenames/remotenames.py", line 698, in expushcmd
return orig(ui, repo, dest, **opts)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/home/dustin/code/moz/.mozbuild/version-control-tools/hgext/firefoxtree/__init__.py", line 353, in pushcommand
return orig(ui, repo, dest=dest, **opts)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/hgext/mq.py", line 3515, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line 5286, in push
bookmarks=opts.get('bookmark', ()))
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/home/dustin/code/moz/.mozbuild/version-control-tools/hgext/reviewboard/client.py", line 222, in wrappedpush
newbranch=newbranch, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/home/dustin/code/moz/t/mozharness/.hg/hgremotenames/remotenames.py", line 42, in expush
res = orig(repo, remote, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/home/dustin/code/moz/.mozbuild/version-control-tools/hgext/firefoxtree/__init__.py", line 189, in push
**kwargs)
File "/usr/lib64/python2.7/site-packages/mercurial/exchange.py", line 238, in push
_pushdiscovery(pushop)
File "/usr/lib64/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/home/dustin/code/moz/.mozbuild/version-control-tools/hgext/reviewboard/client.py", line 331, in wrappedpushdiscovery
return orig(pushop)
File "/usr/lib64/python2.7/site-packages/mercurial/exchange.py", line 288, in _pushdiscovery
step(pushop)
File "/home/dustin/code/moz/t/mozharness/.hg/hgremotenames/remotenames.py", line 549, in expushdiscoverybookmarks
raise util.Abort(msg % ', '.join(sorted(anonheads)), hint=hint)
Abort: push would create new anonymous heads (7405323aa109)
abort: push would create new anonymous heads (7405323aa109)
(use --force to override this warning)
dustin@euclid ~/code/moz/t/mozharness $ hg push -r . --debug upstream
pushing to ssh://hg.mozilla.org/build/mozharness
running ssh hg.mozilla.org 'hg -R build/mozharness serve --stdio'
sending hello command
sending between command
remote: 378
remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Ab2x%253Arebase%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 pushlog bundles
remote: 1
query 1; heads
sending batch command
searching for changes
all remote heads known locally
preparing listkeys for "phases"
sending listkeys command
received listkey for "phases": 15 bytes
preparing listkeys for "bookmarks"
sending listkeys command
received listkey for "bookmarks": 0 bytes
checking for updated bookmarks
preparing listkeys for "bookmarks"
sending listkeys command
received listkey for "bookmarks": 0 bytes
sending known command
abort: push would create new anonymous heads (7405323aa109)
(use --force to override this warning)
with hgremotenames disabled (commented out in .hg/hgrc):
pushing to ssh://hg.mozilla.org/build/mozharness
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files (+1 heads)
remote: recorded push in pushlog
remote: replication of phases data completed successfully in 1.4s
remote: replication of changegroup data completed successfully in 1.1s
(in other words, works fine).
This was attempting to push from either 4353 or 4354:
@ changeset: 4354:e98e72f5a508
|\ branch: production
| | tag: tip
| | parent: 4352:f0c26e1882a2
| | parent: 4353:7405323aa109
| | user: Dustin J. Mitchell <dustin@mozilla.com>
| | date: Mon Oct 12 10:38:11 2015 -0400
| | summary: merge default -> production
| |
| o changeset: 4353:7405323aa109
| | bookmark: bug1181153
| | parent: 4351:e4f73a03ba9e
| | user: Dustin J. Mitchell <dustin@mozilla.com>
| | date: Tue Sep 22 17:31:05 2015 -0400
| | summary: Bug 1181153: use the new treestatus API; r=catlee
| |
o | changeset: 4352:f0c26e1882a2
|\| branch: production
| | branch: upstream/production
| | parent: 4350:6d7adbb504ca
| | parent: 4351:e4f73a03ba9e
| | user: Hal Wine <hwine@mozilla.com>
| | date: Tue Sep 29 13:54:46 2015 -0700
| | summary: merge from default
| |
| o changeset: 4351:e4f73a03ba9e
| | branch: upstream/default
| | parent: 4349:7e04b4a5b116
| | user: Hal Wine <hwine@mozilla.com>
| | date: Tue Sep 29 13:53:32 2015 -0700
| | summary: bug 1193011 - more debug code, still not catching "lost" mappings
| Reporter | ||
Comment 1•10 years ago
|
||
firefoxtree was configured in ~/.hgrc for whatever reason.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•