[Bug 3668] New: transplanting a nonexistent rev yields "'localpeer' is not iterable"
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Sat Oct 20 22:04:34 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3668
Priority: normal
Bug ID: 3668
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: transplanting a nonexistent rev yields "'localpeer' is
not iterable"
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: matt_harbison at yahoo.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.3.2
Component: transplant
Product: Mercurial
I noticed this writing a test for 3584, but it is trivially reproducible and
doesn't require largefiles. The only obvious thing that changed when it was
triggered was the named rev disappeared in the test, though in recreating it
outside the test suite, it also dies in the same way with an existing rev. I
don't normally use transplant, so I'm not sure what is going on.
(I was on Windows at the time, but adjusted the cmd paths for linux)
$ hg clone ../Projects/hg transplant_test
$ hg --config extensions.transplant= --config extensions.largefiles=!
transplant -s ../../Projects/hg 12345678
searching for changes
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 2.4-rc+5-b32e55e6c3c7+20121021)
** Extensions loaded: eol, rebase, convert, graphlog, patchbomb, progress,
extdiff, mq, transplant
Traceback (most recent call last):
File "..\..\Projects\hg\hg", line 38, in <module>
mercurial.dispatch.run()
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 65, in dispatch
return _runcatch(req)
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 88, in _runcatch
return _dispatch(req)
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 741, in
_dispatch
cmdpats, cmdoptions)
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 514, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 831, in
_runcommand
return checkargs()
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 802, in
checkargs
return cmdfunc()
File "C:\Users\Matt\Projects\hg\mercurial\dispatch.py", line 738, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "C:\Users\Matt\Projects\hg\mercurial\util.py", line 472, in check
return func(*args, **kwargs)
File "C:\Users\Matt\Projects\hg\mercurial\extensions.py", line 144, in wrap
util.checksignature(origfn), *args, **kwargs)
File "C:\Users\Matt\Projects\hg\mercurial\util.py", line 472, in check
return func(*args, **kwargs)
File "C:\Users\Matt\Projects\hg\hgext\mq.py", line 3535, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "C:\Users\Matt\Projects\hg\mercurial\util.py", line 472, in check
return func(*args, **kwargs)
File "C:\Users\Matt\Projects\hg\hgext\transplant.py", line 632, in transplant
for r in scmutil.revrange(source, revs):
File "C:\Users\Matt\Projects\hg\mercurial\scmutil.py", line 639, in revrange
elif spec and spec in repo: # single unquoted rev
TypeError: argument of type 'localpeer' is not iterable
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list