# HG changeset patch # User Abderrahim Kitouni # Date 1249148038 -3600 # Node ID 57f860801ab0989f7ce1a85723a91fc555ce5fca # Parent 0ba1aee0467c1fbc9bfcfc19dacc73cb9cd168ff disable thin packs as they aren't handled correctly diff --git a/git_handler.py b/git_handler.py --- a/git_handler.py +++ b/git_handler.py @@ -815,6 +815,6 @@ 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 diff --git a/tests/test-outgoing.out b/tests/test-outgoing.out --- a/tests/test-outgoing.out +++ b/tests/test-outgoing.out @@ -55,7 +55,7 @@ % 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 diff --git a/tests/test-push.out b/tests/test-push.out --- a/tests/test-push.out +++ b/tests/test-push.out @@ -30,7 +30,7 @@ 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