Re: git svn clone clone php/pear/Net_LDAP2 misses tags and branches
- From
Christian Weiske <cweiske@cweiske.de>
- Date
- Oct 25, 2015, 16:30 UTC
- Message-ID
- <20151025173033.28346d49@bogo>
- In-Reply-To
- <CAOc6etYvzv+MFyTXk0zU673b1GypyUbTOuiVyS35PS4ROFHztg@mail.gmail.com>
Hello Edmundo,
> Using -r single-revision-number (against tha same repo), I was not > able to pull much (on that revision only the standard layout was set > up so nothing would come out for git)
It's actually the standard layout here; I only used the single parameters to rule out problems with --stdlayout.
> Did you try with -r revision-number:HEAD?
Good idea. I tried it, and now I have the tags and branches:
$ git svn clone --stdlayout https://svn.php.net/repository/pear/packages/Net_LDAP2 -r 255346:HEAD ...
$ cd Net_LDAP2 $ git br -a * master remotes/origin/implementingPagedSearches_PHP5.4 remotes/origin/tags/Net_LDAP2-2.0.10 remotes/origin/tags/Net_LDAP2-2.0.12 ... remotes/origin/trunk
Thanks!
Is there a way to convert the tags branches into real tags automatically?
-- Regards/Mit freundlichen Grüßen Christian Weiske -=≡ Geeking around in the name of science since 1982 ≡=-