mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
disable thin packs as they aren't handled correctly
This commit is contained in:
parent
a73b315aba
commit
e3d224ab39
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user