#29 Cloning a non-existent package is not handled well
Closed: Fixed Opened by jerboaa.

If I do:

{{{
$ fedpkg clone something-not-there
}}}

I get (something like):

{{{
fatal: The remote end hung up unexpectedly
Traceback (most recent call last):
File "/usr/bin/fedpkg", line 903, in
args.command(args)
File "/usr/bin/fedpkg", line 408, in clone
pyfedpkg.clone(args.module[0], args.user, args.path, args.branch)
File "/usr/lib/python2.6/site-packages/pyfedpkg/init.py", line 287, in clone
_run_command(cmd)
File "/usr/lib/python2.6/site-packages/pyfedpkg/init.py", line 112, in _run_command
raise FedpkgError(e)
pyfedpkg.FedpkgError: Command '['git', 'clone',

}}}

And since it raises some Exception abort pops up and tells me that fedpkg has crashed...

It would be nice if this Exception was caught.


This one is already fixed upstream.

Metadata