[Bug 4454] New: [phase] traceback on push

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Nov 17 05:03:20 CST 2014


http://bz.selenic.com/show_bug.cgi?id=4454

          Priority: normal
            Bug ID: 4454
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: [phase] traceback on push
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: remi.cardona at logilab.fr
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

FTR: bundle2 is not enabled on the client

$ hg --version
Mercurial Distributed SCM (version 3.2.1)

$ hg sum
parent: 1161:ae233fe4529e tip
 test: add an explicit test for simple4server with bundle2

$ hg push --debug --traceback
ssh://hg@hg.logilab.org/users/rcardona/grshell-reliures2
error writing hidden changesets cachepushing to
ssh://hg@hg.logilab.org/users/rcardona/grshell-reliures2
running ssh hg at hg.logilab.org 'hg -R users/rcardona/grshell-reliures2 serve
--stdio'
sending hello command
sending between command
remote: 325
remote: capabilities: lookup changegroupsubset branchmap pushkey known
getbundle unbundlehash batch stream
bundle2-exp=HG2X%0Ab2x%253Alistkeys%0Ab2x%253Apushkey
unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 _evoext_pushobsmarkers_0
_evoext_pullobsmarkers_0 _evoext_obshash_0 _evoext_b2x_obsmarkers_0
_push_experiment_notifypushend_0
remote: 1
cannot lock source repository: [Errno 13] Permission denied:
'/home/katia/src/grshell-reliures/.hg/store/lock'
query 1; heads
sending batch command
searching for changes
all remote heads known locally
preparing listkeys for "phases"
sending listkeys command
preparing listkeys for "namespaces"
sending listkeys command
sampling from both directions
query 1; still undecided: 201, sample size is: 200
sending evoext_obshash command
1 total queries
checking for updated bookmarks
preparing listkeys for "bookmarks"
sending listkeys command
aucun changement trouvé
preparing listkeys for "phases"
sending listkeys command
sending unbundle command
start emission of HG2Y stream
bundle parameter: 
start of parts
bundle part: "b2x:replycaps"
bundle part: "b2x:pushkey"
bundle part: "b2x:pushkey"
end of bundle
Traceback (most recent call last):
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 140, in
_runcatch
    return _dispatch(req)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 850, in
_dispatch
    cmdpats, cmdoptions)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 611, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 196, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/rcardona/Projects/hg/hgext/pager.py", line 158, in pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 196, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/rcardona/Projects/hg/hgext/color.py", line 485, in colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 941, in
_runcommand
    return checkargs()
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 912, in
checkargs
    return cmdfunc()
  File "/home/rcardona/Projects/hg/mercurial/dispatch.py", line 847, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/rcardona/Projects/hg/mercurial/util.py", line 677, in check
    return func(*args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 151, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/util.py", line 677, in check
    return func(*args, **kwargs)
  File "/home/rcardona/Projects/hg/hgext/mq.py", line 3448, in mqcommand
    return orig(ui, repo, *args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/util.py", line 677, in check
    return func(*args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 151, in wrap
    util.checksignature(origfn), *args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/util.py", line 677, in check
    return func(*args, **kwargs)
  File "/home/rcardona/Projects/hgext/mutable-history/hgext/evolve.py", line
597, in warnobserrors
    ret = orig(ui, repo, *args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/util.py", line 677, in check
    return func(*args, **kwargs)
  File "/home/rcardona/Projects/hg/mercurial/commands.py", line 5068, in push
    bookmarks=opts.get('bookmark', ()))
  File "/home/rcardona/Projects/hg/mercurial/extensions.py", line 196, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/home/rcardona/Projects/hgext/mutable-history/hgext/evolve.py", line
620, in push
    return orig(repo, *args, **opts)
  File "/home/rcardona/Projects/hg/mercurial/exchange.py", line 219, in push
    _pushsyncphase(pushop)
  File "/home/rcardona/Projects/hg/mercurial/exchange.py", line 688, in
_pushsyncphase
    reply = pushop.remote.unbundle(stream, ['force'], 'push')
  File "/home/rcardona/Projects/hg/mercurial/wireproto.py", line 400, in
unbundle
    ret = bundle2.unbundle20(self.ui, stream)
  File "/home/rcardona/Projects/hg/mercurial/bundle2.py", line 503, in __init__
    raise util.Abort(_('not a Mercurial bundle'))
Abort: not a Mercurial bundle
abandon : not a Mercurial bundle
remote: abort: stream: unknown bundle version 2Y

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list