Mercurial > hg > hg-git
changeset 233:57f860801ab0
disable thin packs as they aren't handled correctly
author | Abderrahim Kitouni <a.kitouni@gmail.com> |
---|---|
date | Sat, 01 Aug 2009 18:33:58 +0100 |
parents | 0ba1aee0467c |
children | 6f34aee64a3f |
files | git_handler.py tests/test-outgoing.out tests/test-push.out |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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
--- 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