[Bug 5066] New: treemanifest: failure to clone a flat manifest repo

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jan 26 18:28:34 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5066

            Bug ID: 5066
           Summary: treemanifest: failure to clone a flat manifest repo
           Product: Mercurial
           Version: 3.6.3
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: lcharignon at fb.com
                CC: mercurial-devel at selenic.com

I tried to clone a repo with a flat manifest into a local copy with
treemanifest and it failed: 

$ ~/hg/hg clone --pull --config experimental.treemanifest=1 $reporoot/fb-hgext
fb-hgext-tree-manifest

requesting all changes
remote: ** unknown exception encountered, please report by visiting
remote: ** Source Control @ FB group
remote: ** Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313
(Red Hat 4.4.7-11)]
remote: ** Mercurial Distributed SCM (version 3.6.1+254-b41e071029b2)
remote: ** Extensions loaded: tweakdefaults, automv, blackbox, color,
hgsubversion, histedit, lz4revlog, morestatus, pager, phabdiff, phrevset,
progress, purge, rebase, remotefilelog, shelve, smartlog, strip, hgk, hgsql,
perftweaks, pushvars, pushrebase
remote: Traceback (most recent call last):
remote:   File "/usr/bin/hg.real", line 43, in <module>
remote:     mercurial.dispatch.run()
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
54, in run
remote:     sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
116, in dispatch
remote:     ret = _runcatch(req)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
187, in _runcatch
remote:     return _dispatch(req)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
920, in _dispatch
remote:     cmdpats, cmdoptions)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
679, in runcommand
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/extensions.py",
line 183, in closure
remote:     return func(*(args + a), **kw)
remote:   File "/usr/lib64/python2.6/site-packages/hgext/color.py", line 525,
in colorcmd
remote:     return orig(ui_, opts, cmd, cmdfunc)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
1051, in _runcommand
remote:     return checkargs()
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
1011, in checkargs
remote:     return cmdfunc()
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/dispatch.py", line
917, in <lambda>
remote:     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/util.py", line
773, in check
remote:     return func(*args, **kwargs)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/commands.py", line
5935, in serve
remote:     s.serve_forever()
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/sshserver.py",
line 103, in serve_forever
remote:     while self.serve_one():
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/sshserver.py",
line 121, in serve_one
remote:     rsp = wireproto.dispatch(self.repo, self, cmd)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/wireproto.py",
line 471, in dispatch
remote:     return func(repo, proto, *args)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/wireproto.py",
line 649, in getbundle
remote:     cg = exchange.getbundle(repo, 'serve', **opts)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/exchange.py", line
1467, in getbundle
remote:     **kwargs)
remote:   File "/usr/lib64/python2.6/site-packages/mercurial/exchange.py", line
1484, in _getbundlechangegrouppart
remote:     raise ValueError(_('no common changegroup version'))
remote: ValueError: no common changegroup version
abort: stream ended u


With a previous version of hg (from 3 weeks ago), the clone worked but the
local copy didn't have tree manifest.

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


More information about the Mercurial-devel mailing list