disable thin packs as they aren't handled correctly

This commit is contained in:
Abderrahim Kitouni 2009-08-01 18:33:58 +01:00
parent a73b315aba
commit e3d224ab39
3 changed files with 4 additions and 4 deletions

View File

@ -815,6 +815,6 @@ class GitHandler(object):
for handler, transport in (("git://", TCPGitClient), ("git@", SSHGitClient), ("git+ssh://", SSHGitClient)):
if uri.startswith(handler):
host, path = uri[len(handler):].split("/", 1)
return transport(host), '/' + path
return transport(host, thin_packs=False), '/' + path
# if its not git or git+ssh, try a local url..
return SubprocessGitClient(), uri
return SubprocessGitClient(thin_packs=False), uri

View File

@ -55,7 +55,7 @@ abort: refs/heads/master changed on the server, please pull and merge before pus
% let's pull and try again
pulling from git://localhost/gitrepo
importing Hg objects into Git
Counting objects: 4, done.
Counting objects: 3, done.
Compressing objects: 50% (1/2) Compressing objects: 100% (2/2) Compressing objects: 100% (2/2), done.
Total 3 (delta 0), reused 0 (delta 0)
importing Git objects into Hg

View File

@ -30,7 +30,7 @@ creating and sending data
abort: refs/heads/master changed on the server, please pull and merge before pushing
pulling from git://localhost/gitrepo
importing Hg objects into Git
Counting objects: 4, done.
Counting objects: 3, done.
Compressing objects: 50% (1/2) Compressing objects: 100% (2/2) Compressing objects: 100% (2/2), done.
Total 3 (delta 0), reused 0 (delta 0)
importing Git objects into Hg