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
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 ≡=-
Previous: Edmundo Carmona AntoranzNext: Christian Weiske
Message 3 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.