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

git-svn -t/-b should respect existing *

From
MKmartin f krafft <madduck@madduck.net>
Date
Mar 13, 2008, 11:27 UTC
Message-ID
<20080313112738.GA28589@piper.oerlikon.madduck.net>
Hi folks,
My git-svn target configuration is
  [svn-remote "svn"]
    url = svn://svn.berlios.de/docutils
    fetch = trunk/docutils:refs/remotes/trunk
    branches = branches/*/docutils:refs/remotes/*
    tags = tags/*/docutils:refs/remotes/tags/*
Unfortunately, when I run
  git-svn init -T trunk/docutils -t 'tags/*/docutils' -b 'branches/*/docutils' ...
then I get (note the two asterisks on the left hand side):
    branches = branches/*/docutils/*:refs/remotes/*
    tags = tags/*/docutils/*:refs/remotes/tags/*

I took a brief stab at the code but I can't even figure out where the /* is appended, so I defer to you.

It should be trivial to keep git-svn from appending /* if the left side already contains an asterisk.

Thanks,
-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"auch der mutigste von uns hat nur selten den mut zu dem,
 was er eigentlich weiß."
                                                 - friedrich nietzsche
 
spamtraps: madduck.bogus@madduck.net
Next: Eric Wong
Message 1 of 3 in “git-svn -t/-b should respect existing *”
  1. martin f krafftMar 13, 2008
  2. git-svn: don't blindly append '*' to branch/tags configEric Wong, Mar 14, 2008
  3. martin f krafftMar 14, 2008

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.