[issue3349] TypeError: 'NoneType' object is unsubscriptable
William Leader
bugs at mercurial.selenic.com
Mon Apr 2 18:32:28 CDT 2012
New submission from William Leader <william.leader at gmail.com>:
I was attempting to test the conversion of our Subversion repository. I had created a copy of our repository using
svnsync to my Windows XP (32 bit) workstation. When attempting the convert the following output is displayed. This
happens every time on my workstation. I'm not sure how to create a reproduce-able test without providing you the
repository, which I am unable to do.
Given that the last line in the call stack is a call to parselogentry, I suspect that one of my revisions has something
in the log that the parser can not cope with. Perhaps if there were a way to identify which revision it was working on
when it failed, I could examine the log for that revision and that would provide a clue as to what is going wrong.
C:\Program Files\Mercurial>hg version
Mercurial Distributed SCM (version 2.1.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Program Files\Mercurial>hg convert -s svn file:///p:/PdiRepository p:/PdiRepository-hg
scanning source...
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 2.1.2)
** Extensions loaded: convert
Traceback (most recent call last):
File "hg", line 38, in <module>
File "mercurial\dispatch.pyc", line 27, in run
File "mercurial\dispatch.pyc", line 64, in dispatch
File "mercurial\dispatch.pyc", line 87, in _runcatch
File "mercurial\dispatch.pyc", line 685, in _dispatch
File "mercurial\dispatch.pyc", line 467, in runcommand
File "mercurial\dispatch.pyc", line 739, in _runcommand
File "mercurial\dispatch.pyc", line 693, in checkargs
File "mercurial\dispatch.pyc", line 682, in <lambda>
File "mercurial\util.pyc", line 456, in check
File "hgext\convert\__init__.pyc", line 269, in convert
File "hgext\convert\convcmd.pyc", line 469, in convert
File "hgext\convert\convcmd.pyc", line 365, in convert
File "hgext\convert\convcmd.pyc", line 136, in walktree
File "hgext\convert\convcmd.pyc", line 318, in cachecommit
File "hgext\convert\subversion.pyc", line 441, in getcommit
File "hgext\convert\subversion.pyc", line 821, in _fetch_revisions
File "hgext\convert\subversion.pyc", line 774, in parselogentry
TypeError: 'NoneType' object is unsubscriptable
----------
messages: 19499
nosy: william.leader
priority: bug
status: unread
title: TypeError: 'NoneType' object is unsubscriptable
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3349>
____________________________________________________
More information about the Mercurial-devel
mailing list