Description of problem: hgimportsvn https://simpleid.svn.sourceforge.net/svnroot/simpleid/trunk Version-Release number of selected component: hgsvn-0.1.9-2.fc18 Additional info: cmdline: /usr/bin/python /usr/bin/hgimportsvn https://simpleid.svn.sourceforge.net/svnroot/simpleid/trunk executable: /usr/bin/hgimportsvn kernel: 3.7.4-204.fc18.x86_64 uid: 1000 Truncated backtrace: hgimportsvn.py:227:main:OSError: [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/bin/hgimportsvn", line 9, in <module> load_entry_point('hgsvn==0.1.9', 'console_scripts', 'hgimportsvn')() File "/usr/lib/python2.7/site-packages/hgsvn/run/hgimportsvn.py", line 227, in main os.rename(os.path.join(checkout_dir, d, svn_private_dir), os.path.join(d, svn_private_dir)) OSError: [Errno 2] No such file or directory Local variables in innermost frame: parser: <optparse.OptionParser instance at 0x27183f8> svn_rev: 2 actual_svn_url: 'https://simpleid.svn.sourceforge.net/svnroot/simpleid/trunk' local_repo: 'trunk' svn_manifest: ['cache', 'identities', 'identities/example.identity.dist', 'www', 'www/cache.inc', 'www/common.inc', 'www/config.inc.dist', 'www/html', 'www/html/simpleid.css', 'www/html/template.xtpl', 'www/html/user.png', 'www/html/world.png', 'www/index.php', 'www/lib', 'www/lib/xtemplate.class.php', 'www/lib/xtemplate.license.txt', 'www/openid.inc', 'www/sreg.inc', 'www/user.inc'] svn_branch: 'trunk' svn_copyfrom_revision: None p: {'action': 'A', 'path': '/trunk', 'copyfrom_path': None, 'copyfrom_revision': None} svn_copyfrom_path: None svn_dirs: ['cache', 'identities', 'www', 'www/html', 'www/lib'] checkout_dir: './tmpZbWhKv' usage: '1. %prog [-r SVN rev] [-p SVN peg rev] <SVN URL> [local checkout]\n 2. %prog --local-only <local checkout>' svn_files: ['www/openid.inc', 'www/config.inc.dist', 'www/html/world.png', 'www/index.php', 'www/cache.inc', 'www/user.inc', 'www/lib/xtemplate.class.php', 'www/html/template.xtpl', 'www/html/user.png', 'www/html/simpleid.css', 'www/lib/xtemplate.license.txt', 'identities/example.identity.dist', 'www/sreg.inc', 'www/common.inc'] svn_greatest_rev: 586 svn_info: {'last_changed_date': 1346509317, 'last_changed_rev': 586, 'last_changed_author': 'kmo', 'url': 'https://simpleid.svn.sourceforge.net/svnroot/simpleid/trunk', 'repos_url': 'https://simpleid.svn.sourceforge.net/svnroot/simpleid', 'revision': 586} args: [] svn_start_log: {'date': 1187088216, 'message': 'Initial import.', 'author': 'kmo', 'changed_paths': [{'action': 'A', 'path': '/trunk/cache', 'copyfrom_path': '/cache', 'copyfrom_revision': 1}, {'action': 'A', 'path': '/trunk/www', 'copyfrom_path': '/www', 'copyfrom_revision': 1}, {'action': 'D', 'path': '/identities', 'copyfrom_path': None, 'copyfrom_revision': None}, {'action': 'M', 'path': '/trunk/www/cache.inc', 'copyfrom_path': None, 'copyfrom_revision': None}, {'action': 'D', 'path': '/cache', 'copyfrom_path': None, 'copyfrom_revision': None}, {'action': 'A', 'path': '/trunk', 'copyfrom_path': None, 'copyfrom_revision': None}, {'action': 'A', 'path': '/trunk/identities', 'copyfrom_path': '/identities', 'copyfrom_revision': 1}, {'action': 'D', 'path': '/www', 'copyfrom_path': None, 'copyfrom_revision': None}], 'revision': 2} d: 'cache' f: 'www/common.inc' target_svn_url: 'https://simpleid.svn.sourceforge.net/svnroot/simpleid/trunk' svn_path: '/trunk' repos_url: 'https://simpleid.svn.sourceforge.net/svnroot/simpleid' options: <Values at 0x27265a8: {'hgignore': True, 'svn_branch': None, 'show_version': None, 'local_only': False, 'verbosity': 10, 'svn_rev': None, 'show_help': None, 'help2man': None, 'svn_peg': None}>
Created attachment 688613 [details] File: backtrace
Created attachment 688614 [details] File: core_backtrace
Created attachment 688615 [details] File: environ
Thanks for you report. What did you do to create the backtrace?
I didn't do anything special. I executed the hgimportsvn command per my report, and abrt gave me the stack trace.
I just tried it again. In the terminal window I also saw the message: SVN branch isn't a copy This was followed by the stack trace which abrt also reported.
Ok, thanks for your input so far.
Not able to reproduce, do you have any files/dirs in current working dir? Any related .hg dires or files around?
ping?
I tink the reason for the crash is the fact that the svn repository I was trying to read doesn't exist anymore. It probably also didn't exist when I first tried it. The crash still happens on Fedora 18 with hgsvn-0.1.9-2.fc18.noarch. The directory I tried this in was empty.
Seems like I tried the command on Fedora 16 which in fact works :-) Upgrade of subversion 1.7 from 1.6 or newer hg (1.9.3 > 2.4.1) might be the cause. Need to research more.
hgsvn-0.1.9-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/hgsvn-0.1.9-4.fc17
hgsvn-0.1.9-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hgsvn-0.1.9-4.fc18
Package hgsvn-0.1.9-4.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hgsvn-0.1.9-4.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3045/hgsvn-0.1.9-4.fc18 then log in and leave karma (feedback).
hgsvn-0.1.9-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
hgsvn-0.1.9-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.