Re: git svn clone clone php/pear/Net_LDAP2 misses tags and branches
- From
Edmundo Carmona Antoranz <eantoranz@gmail.com>
- Date
- Oct 25, 2015, 15:32 UTC
- Message-ID
- <CAOc6etYvzv+MFyTXk0zU673b1GypyUbTOuiVyS35PS4ROFHztg@mail.gmail.com>
- In-Reply-To
- <20151025154325.36eddb4c@bogo>
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)
Did you try with -r revision-number:HEAD?
.
.
.
r255572 = 73d7692d844ee6baae8b4b2e5fc0f07a4118d09e (refs/remotes/svn/trunk)
M package2.xml
r255574 = d1f380277cb6a4d096d71e3a83942bb17dabf041 (refs/remotes/svn/trunk)
Found possible branch point:
https://svn.php.net/repository/pear/packages/Net_LDAP2/trunk =>
https://svn.php.net/repository/pear/packages/Net_LDAP2/tags/RELEASE_2_0_0RC2
, 255574
Found branch parent: (refs/remotes/svn/tags/RELEASE_2_0_0RC2)
d1f380277cb6a4d096d71e3a83942bb17dabf041
Following parent with do_switch
D LICENSE
D tests/ldif_data/unsorted_w50_WIN.ldif
Successfully followed parent
W: -empty_dir: LICENSE
W: -empty_dir: tests/ldif_data/unsorted_w50_WIN.ldif
r255575 = d37158da793aee8692a6dca23870b9d2e3baaf18
(refs/remotes/svn/tags/RELEASE_2_0_0RC2)
M package2.xml
r255576 = 05d71ac6543430b119232714334b3d836d20bfc8 (refs/remotes/svn/trunk)
M package2.xml
M LDAP2/Entry.php
.
.
.On Sun, Oct 25, 2015 at 8:43 AM, Christian Weiske <cweiske@cweiske.de> wrote:
Show 23 quoted lines
> Hi, > > > Using git 2.6.2 to clone an SVN repository misses out branches and tags. > > The clone command: > > $ git svn clone --trunk=trunk --tags=tags --branches=branches > --prefix=origin/ > https://svn.php.net/repository/pear/packages/Net_LDAP2 -r 255346 > > The final repository's tag and branch list is empty. > > There are tags and branches, though - see the web interface at > http://svn.php.net/viewvc/pear/packages/Net_LDAP2/ > > What am I doing wrong here? > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=-