threads / discuss / 9035

git-svn: tagging trunk in SVN with git-svn?

Subject: git-svn: tagging trunk in SVN with git-svn?

## tl;dr

2 messages between Jul 14, 2007 and Jul 14, 2007.

replies: 1people: 2as markdown or json

martin f krafft· Jul 14, 2007, 14:03 UTC · lore
Dear list,

I searched the list(s) and even read the code of git-svn, but I am none the wiser now. From what I understand, git-svn is primarily used to interact with subversion, rather than doing one-shot imports (which it can do as well).

I am using it now and it works like a charm (thanks!). However, I cannot really figure out how to tag the remote trunk from within git-svn. I tried `git tag tags/1.2.57`, `git tag 1.2.57` and `git branch tags/1.2.57`, but in none of the three cases does dcommit think that it needs to push anything upstream.

Is what I am trying to do possible, or do I need to use svn for that?

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
spamtraps: madduck.bogus@madduck.net
 
"nothing can cure the soul but the senses,
 just as nothing can cure the senses but the soul."
                                                        -- oscar wilde
Eric Wong· Jul 14, 2007, 20:35 UTC · re: martin f krafft · lore

Re: git-svn: tagging trunk in SVN with git-svn?

martin f krafft <madduck@madduck.net> wrote:
Show 15 quoted lines
> Dear list,
> 
> I searched the list(s) and even read the code of git-svn, but I am
> none the wiser now. From what I understand, git-svn is primarily
> used to interact with subversion, rather than doing one-shot imports
> (which it can do as well).
> 
> I am using it now and it works like a charm (thanks!). However,
> I cannot really figure out how to tag the remote trunk from within
> git-svn. I tried `git tag tags/1.2.57`, `git tag 1.2.57` and `git
> branch tags/1.2.57`, but in none of the three cases does dcommit
> think that it needs to push anything upstream.
> 
> Is what I am trying to do possible, or do I need to use svn for
> that?

git-svn doesn't currently know how to create new tags/patches. It's been requested but I haven't had much time or desire to implement it, patches accepted :)

I just use "svn cp url1 url2", but I agree having git-svn automatically know about that branch would be nice.

-- 
Eric Wong

← back to recent threads