Skip to content

clone never completes #272

Closed
Closed
@tardis4500

Description

@tardis4500

I have a somewhat large repo which I can clone at the command line in about 6 minutes. Trying the same thing with a simple Python script and GitPython

from git import Repo
Repo.close('url', 'path')

never finishes. I've tried setting GIT_PYTHON_TRACE, but there is no output anywhere.

When I ^C to kill off the process this is the traceback:
Traceback (most recent call last):
File "C:\Users\jsmith\git\giter.py", line 2, in
Repo.clone_from('git@gitserver:EightK_FPGA_backup', 'gitpython')
File "C:\BaRT\Python34\lib\site-packages\gitpython-0.3.6-py3.4.egg\git\repo\base.py", line 844, in clone_from
return cls._clone(Git(os.getcwd()), url, to_path, GitCmdObjectDB, progress,
**kwargs)
File "C:\BaRT\Python34\lib\site-packages\gitpython-0.3.6-py3.4.egg\git\repo\base.py", line 795, in _clone
finalize_process(proc)
File "C:\BaRT\Python34\lib\site-packages\gitpython-0.3.6-py3.4.egg\git\util.py", line 158, in finalize_process
proc.wait()
File "C:\BaRT\Python34\lib\site-packages\gitpython-0.3.6-py3.4.egg\git\cmd.py", line 298, in wait
status = self.proc.wait()
File "C:\BaRT\Python34\lib\subprocess.py", line 1162, in wait
timeout_millis)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions