git-svn branches creation question
Is it possible to create and track new branches (or tags) using git-svn?
I know how to track existing branches, but new ones?
Some context. I'm tracking a CVS repository doing update from time to time on the master branch (using simply rsync and git-svn dcommit). Now I want to add a new tag for updates on the master. Currently I'm using svn copy. I'd like to do this directly from Git.
Thanks.
Signature · 3 lines
Pascal Obry -- gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Quoted 8 lines · Pascal Obry
Is it possible to create and track new branches (or tags) using git-svn?
I know how to track existing branches, but new ones?
Some context. I'm tracking a CVS repository doing update from time to time
on the master branch (using simply rsync and git-svn dcommit). Now I want to add a new tag for updates on the master. Currently I'm using svn copy. I'd like to do this directly from Git.
I don't think there's a way to do this. You can create branches in git that *aren't* tracked in svn, of course, if you want to do that.
And creating branches in svn is a single command, even if you don't have an svn checkout:
svn cp $SVN/trunk $SVN/branches/whatever
So it seems unnecessary to duplicate this feature in git.
Have fun,
Avery
Avery,
Quoted 4 lines
And creating branches in svn is a single command, even if you don't have an svn checkout:
svn cp $SVN/trunk $SVN/branches/whatever
That's what I'm doing as I said in my message.
Quoted 1 line
So it seems unnecessary to duplicate this feature in git.
Well it would be quite handy to work on Git directly (eventually off-line) and doing the final "git svn dcommit" to update the subversion repository and creating the branches if necessary.
Pascal.
Signature · 8 lines
--|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595