[issue412] ValueError: need more than 1 value to unpack

Jack Repenning mercurial-bugs at selenic.com
Wed Nov 1 08:56:52 CST 2006


New submission from Jack Repenning <jack at netgate.net>:

Attempt to clone a repo results in python stack "ValueError: need more than 1 
value."

This is the first attempted clone from this machine (hg only just installed).  
This repo has been cloned successfully before, onto another Mac running same OS.  
I don't think the hg used in that case was identical (I think it was the beta 
that preceded abd9a05fca0b).

When the dust settles, there does not appear to be anything in the receiving 
file system; the expected top-level directory "summit" is not present.

The clone operation took quite a long time (I went to bed after an hour or so), 
but that may be legitimate, it's over a GB.

That repo is public, and you're welcome to try cloning it yourself.  See http://
www.red-bean.com/svnwiki/SVNSummitMercurial if you need write access or repo-
side internal/historical details.

> /usr/local/bin/python
Python 2.4.3 (#1, Apr  7 2006, 10:54:33) 


> hg --version
Mercurial Distributed SCM (version abd9a05fca0b)




> hg clone http://www.red-bean.com/svnproject/hg/summit
requesting all changes
adding changesets
adding manifests
adding file changes
added 77 changesets with 242 changes to 172 files
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version abd9a05fca0b)
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 12, in ?
    commands.run()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/commands.py", line 3118, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/commands.py", line 3330, in dispatch
    return d()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/commands.py", line 3286, in <lambda>
    d = lambda: func(u, *args, **cmdoptions)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/commands.py", line 847, in clone
    update=not opts['noupdate'])
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/hg.py", line 204, in clone
    _merge.update(dest_repo, dest_repo.changelog.tip())
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/merge.py", line 274, in update
    m2 = repo.changectx(p2).manifest().copy()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/context.py", line 42, in manifest
    self._manifest = self._repo.manifest.read(self.changeset()[0])
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages/mercurial/manifest.py", line 54, in read
    (f, n) = l.split('\0')
ValueError: need more than 1 value to unpack

----------
messages: 2313
nosy: jrepenning
priority: bug
status: unread
title: ValueError: need more than 1 value to unpack
topic: http_proto, macos

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue412>
____________________________________________________



More information about the Mercurial-devel mailing list