1. Marcin Kuzminski
  2. RhodeCode

Issues

Issue #596 resolved

Cloning a Git repo using "--depth 1" fails

Anonymous created an issue

Command "git clone http://xxxx/repo" works fine.

Command "git clone --depth 1 http://xxxx/repo" give an error:

error: RPC failed; result=22, HTTP code = 417

fatal: The remote end hung up unexpectedly

LOGS:

2012-10-04 15:03:27.647 ERROR [rhodecode.lib.middleware.pygrack] Traceback (most recent call last):

File "/home/rhodecode/Env/lib/python2.6/site-packages/rhodecode/lib/middleware/pygrack.py", line 136, in backend

**opts

File "/home/rhodecode/Env/lib/python2.6/site-packages/rhodecode/lib/subprocessio.py", line 375, in init

raise EnvironmentError("Subprocess exited due to an error:\n" + err)

EnvironmentError: Subprocess exited due to an error:

fatal: The remote end hung up unexpectedly

2012-10-04 15:03:27.648 ERROR [rhodecode.lib.middleware.pygrack] Traceback (most recent call last):

File "/home/rhodecode/Env/lib/python2.6/site-packages/rhodecode/lib/middleware/pygrack.py", line 164, in call

resp = app(request, environ)

File "/home/rhodecode/Env/lib/python2.6/site-packages/rhodecode/lib/middleware/pygrack.py", line 140, in backend

raise exc.HTTPExpectationFailed()

HTTPExpectationFailed: Expectation failed.

Comments (4)

  1. Log in to comment