Re: error when doing git shallow clone of log4cpp

Ruben Smits <[email protected]> Thu, 6 Feb 2014 09:10:41 +0100
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAN8Phbmgc+AxmVG5_4yah0hJxr9kJwdr5cM5qdntWuaqb5Y-ww@mail.gmail.com>
Hi Thierry,

On Wed, Feb 5, 2014 at 5:38 PM, Thierry Bultel
<[email protected]> wrote:
> Hi,
>
> I am currently trying to build Orocos toolchain in buildroot
> The shallow clone does not work with log4cpp:
>
> # git clone --depth 1 -b v2.7.0-rc1
> http://git.gitorious.org/orocos-toolchain/log4cpp.git
> Initialized empty Git repository in /home/tbultel/tmp/log4cpp/.git/
> error: RPC failed; result=22, HTTP code = 500
>
> Any ideas about it ?

The depth option is apparently not supported by the http protocol. I
tried with the git protocol and that did work:

$ git clone --depth 1 -b toolchain-2.7
git://git.gitorious.org/orocos-toolchain/log4cpp.git
Cloning into 'log4cpp'...
remote: Counting objects: 444, done.
remote: Compressing objects: 100% (273/273), done.
remote: Total 444 (delta 181), reused 405 (delta 157)
Receiving objects: 100% (444/444), 538.32 KiB | 591 KiB/s, done.
Resolving deltas: 100% (181/181), done

Ruben

> Regards
> Thierry
>
> --
> Orocos-Dev mailing list
> [email protected]
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>



-- 
Ruben Smits, CTO
+32 479 511 786
Intermodalics - Kapeldreef 60, 3001 Heverlee - BELGIUM
www.intermodalics.eu

---------------------------------------------------------------------------------------------------------------------------------------
This email and any attached files are confidential and may be legally
privileged. Any copy, print or forward of this email, without the
agreement of sender or addressee, is strictly prohibited. Misuse is a
violation of the law on personal data protection (D. Lgs. 196/2003)
and on secrecy of correspondence (art. 616 cp). If you have received
this transmission in error please notify the sender immediately and
then delete this email and any attached files.
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev