Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21656 - [hgsvn] import fails
Attached to Project:
Community Packages
Opened by mark (mmm) - Tuesday, 09 November 2010, 20:06 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 01 December 2010, 23:33 GMT
Opened by mark (mmm) - Tuesday, 09 November 2010, 20:06 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 01 December 2010, 23:33 GMT
|
DetailsDescription:
installed hgsvn and tried to run but recieved an error: $hgimportsvn svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/kipi-plugins/ SVN branch was copied from '/trunk/extragear/libs/kipi-plugins' at rev 816153 Traceback (most recent call last): File "/usr/bin/hgimportsvn", line 8, in <module> load_entry_point('hgsvn==0.1.8', 'console_scripts', 'hgimportsvn')() File "/usr/lib/python2.7/site-packages/hgsvn/run/hgimportsvn.py", line 143, in main run_hg(["init"]) File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 224, in run_hg bulk_args=bulk_args) File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 169, in run_command return _run_raw_command(cmd, map(_transform_arg, args), fail_if_stderr) File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 137, in _run_raw_command % (cmd_string, "".join(traceback.format_exception_only(etype, value)))) hgsvn.errors.ExternalCommandFailed: Failed running external program: hg '--encoding' 'utf-8' 'init' Error: OSError: [Errno 2] No such file or directory Additional info: * package version(s) latest from community repo * config and/or log files etc. Steps to reproduce: $hgimportsvn svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/kipi-plugins/ |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Wednesday, 01 December 2010, 23:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.1.8-3.
Wednesday, 01 December 2010, 23:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.1.8-3.
I do have the python2 and new hgsvn :
yaourt -Qs hgsvn
community/hgsvn 0.1.8-2 [0.46 M]
A set of scripts to work locally on Subversion checkouts using Mercurial
[marek@beruska cc]$ yaourt -Qs python2
extra/python2 2.7-3 [66.56 M]
A high-level scripting language
This is my output w/ --debug:
$ hgimportsvn --debug -v svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/kipi-plugins/
SVN branch was copied from '/trunk/extragear/libs/kipi-plugins' at rev 816153
Traceback (most recent call last):
File "/usr/bin/hgimportsvn", line 8, in <module>
load_entry_point('hgsvn==0.1.8', 'console_scripts', 'hgimportsvn')()
File "/usr/lib/python2.7/site-packages/hgsvn/run/hgimportsvn.py", line 143, in main
run_hg(["init"])
File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 224, in run_hg
bulk_args=bulk_args)
File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 169, in run_command
return _run_raw_command(cmd, map(_transform_arg, args), fail_if_stderr)
File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 137, in _run_raw_command
% (cmd_string, "".join(traceback.format_exception_only(etype, value))))
hgsvn.errors.ExternalCommandFailed: Failed running external program: hg '--encoding' 'utf-8' 'init'
Error: OSError: [Errno 2] No such file or directory
I do have some problems with svn on this network, but this seems more like program crash.
Thank you, Marek
elasticdog: Shouldn't "hg" be a dependency?
Yep, I think it should be a dependency for ppl like me, I have no idea about hg, just needed something other than svn to try to get a svn repo.
So thanks for asking right questions ;)
elasticdog: So maybe add "mercurial" (and maybe "svn" as well) as deps?
$ hgimportsvn svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics/kipi-plugins/
SVN branch was copied from '/trunk/extragear/libs/kipi-plugins' at rev 816153
^CTraceback (most recent call last):
File "/usr/bin/hgimportsvn", line 8, in <module>
load_entry_point('hgsvn==0.1.8', 'console_scripts', 'hgimportsvn')()
File "/usr/lib/python2.7/site-packages/hgsvn/run/hgimportsvn.py", line 184, in main
svn_checkout(target_svn_url, checkout_dir, svn_rev)
File "/usr/lib/python2.7/site-packages/hgsvn/svnclient.py", line 163, in svn_checkout
return run_svn(svn_checkout_args + args)
File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 236, in run_svn
args=args, bulk_args=bulk_args, fail_if_stderr=fail_if_stderr)
File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 169, in run_command
return _run_raw_command(cmd, map(_transform_arg, args), fail_if_stderr)
File "/usr/lib/python2.7/site-packages/hgsvn/common.py", line 138, in _run_raw_command
out, err = pipe.communicate()
File "/usr/lib/python2.7/subprocess.py", line 740, in communicate
return self._communicate(input)
File "/usr/lib/python2.7/subprocess.py", line 1256, in _communicate
stdout, stderr = self._communicate_with_poll(input)
File "/usr/lib/python2.7/subprocess.py", line 1310, in _communicate_with_poll
ready = poller.poll()
KeyboardInterrupt
I guess this is correct, but doesn't look very clean and lean.