git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 ≡=-
Previous: Christian WeiskeNext: Christian Weiske
Message 2 of 5 in “git svn clone clone php/pear/Net_LDAP2 misses tags and branches”
  1. Christian WeiskeOct 25, 2015
  2. Edmundo Carmona AntoranzOct 25, 2015
  3. Christian WeiskeOct 25, 2015
  4. Christian WeiskeOct 25, 2015
  5. Edmundo Carmona AntoranzOct 25, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.