Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

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

From: martin f krafft <hidden>
Date: 2016-06-15 22:44:22

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help