[issue2731] Crash when pushing from one repository to another

Aaron Powell bugs at mercurial.selenic.com
Sun Mar 27 06:06:40 CDT 2011


New submission from Aaron Powell <me at aaron-powell.com>:

A project that I'm working on has just moved their source hosting to a new 
hosting.

As part of the migration we've stipped out a bunch of dead branches from 
the repository (well, all branches that hadn't been merged into default).

One of the branches is actually meant to have been included, so I've done 
a pull from the old repository, merged the branch into default, closed the 
branch and then tried to push into the new repository. Upon pushing 
mercruial fails with the following error:

PS C:\_Projects\project-clone> hg pus -r 439 --new-branch
pushing to http://...
searching for changes
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit 
(AMD64)]
** Mercurial Distributed SCM (version 1.8.1)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 36, in dispatch
  File "mercurial\dispatch.pyc", line 58, in _runcatch
  File "mercurial\dispatch.pyc", line 601, in _dispatch
  File "mercurial\dispatch.pyc", line 406, in runcommand
  File "mercurial\dispatch.pyc", line 655, in _runcommand
  File "mercurial\dispatch.pyc", line 609, in checkargs
  File "mercurial\dispatch.pyc", line 598, in <lambda>
  File "mercurial\util.pyc", line 433, in check
  File "mercurial\commands.pyc", line 3019, in push
  File "mercurial\localrepo.pyc", line 1414, in push
  File "mercurial\wireproto.pyc", line 122, in unbundle
ValueError: need more than 1 value to unpack

----------
messages: 15845
nosy: aaron.powell
priority: urgent
status: unread
title: Crash when pushing from one repository to another

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


More information about the Mercurial-devel mailing list