Bug 607913

Summary: [abrt] crash in mercurial-1.5.3-1.fc12: posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: Salman El Farisi <vans.emperor>
Component: mercurialAssignee: Neal Becker <ndbecker2>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dennis, jzeleny, mads, mmcgrath, ndbecker2
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:ed56d0dc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-25 18:51:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Salman El Farisi 2010-06-25 07:46:08 UTC
abrt 1.0.9 detected a crash.

architecture: i686
cmdline: python /usr/bin/mercurial-convert-repo
component: mercurial
executable: /usr/bin/mercurial-convert-repo
kernel: 2.6.32.14-127.fc12.i686.PAE
package: mercurial-1.5.3-1.fc12
reason: posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'
release: Fedora release 12 (Constantine)

backtrace
-----
posixpath.py:311:normpath:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/bin/mercurial-convert-repo", line 27, in <module>
    convert.convert(u, src, dest, revmapfile, **opts)
  File "/usr/lib/python2.6/site-packages/hgext/convert/__init__.py", line 238, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/usr/lib/python2.6/site-packages/hgext/convert/convcmd.py", line 370, in convert
    dest = hg.defaultdest(src) + "-hg"
  File "/usr/lib/python2.6/site-packages/mercurial/hg.py", line 92, in defaultdest
    return os.path.basename(os.path.normpath(source))
  File "/usr/lib/python2.6/posixpath.py", line 311, in normpath
    initial_slashes = path.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
path: None

Comment 1 Salman El Farisi 2010-06-25 07:46:12 UTC
Created attachment 426786 [details]
File: backtrace

Comment 2 Neal Becker 2010-06-25 18:51:11 UTC
mercurial-convert-repo is obsolete.  Use hg convert instead.  Will be
removed in next version.