ets icon indicating copy to clipboard operation
ets copied to clipboard

Existing repositories cause clone to fail

Open jwiggins opened this issue 12 years ago • 3 comments

Cloning package traits URL: https://github.com/enthought/traits.git fatal: destination path 'traits' already exists and is not an empty directory. Traceback (most recent call last): File "ets/ets.py", line 149, in main() File "ets/ets.py", line 136, in main subprocess.check_call(['git', 'clone', pkg_url, ets_pkg_name]) File "/home/jwiggins/epd-6.3/lib/python2.6/subprocess.py", line 488, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['git', 'clone', 'https://github.com/enthought/traits.git', 'traits']' returned non-zero exit status 128

Perhaps it should just print the error and continue on its merry way?

jwiggins avatar Jul 16 '11 16:07 jwiggins

Or if it wanted to be nice about it, catch the error and print a less scary error and continue on its merry way...

pib avatar Jul 18 '11 21:07 pib

closing as this in no way feels relevant to what the ets github repository is now used for.

rahulporuri avatar Jul 15 '20 07:07 rahulporuri

never mind ets.py still exists in the repository!

rahulporuri avatar Jul 15 '20 07:07 rahulporuri