public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* git-svn branches creation question
@ 2008-06-26 15:55 Pascal Obry
  2008-06-26 16:08 ` Avery Pennarun
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal Obry @ 2008-06-26 15:55 UTC (permalink / raw)
  To: pascal, Git Mailing-List


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.

-- 
    Pascal Obry
    --
    gpg --keyserver wwwkeys.pgp.net --recv-key C1082595

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn branches creation question
  2008-06-26 15:55 git-svn branches creation question Pascal Obry
@ 2008-06-26 16:08 ` Avery Pennarun
  2008-06-26 19:05   ` Pascal Obry
  0 siblings, 1 reply; 3+ messages in thread
From: Avery Pennarun @ 2008-06-26 16:08 UTC (permalink / raw)
  To: Pascal Obry; +Cc: Git Mailing-List

On 6/26/08, Pascal Obry <pascal@obry•net> wrote:
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn branches creation question
  2008-06-26 16:08 ` Avery Pennarun
@ 2008-06-26 19:05   ` Pascal Obry
  0 siblings, 0 replies; 3+ messages in thread
From: Pascal Obry @ 2008-06-26 19:05 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: Git Mailing-List

Avery,

> 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.

> 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.

-- 

--|------------------------------------------------------
--| 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-26 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 15:55 git-svn branches creation question Pascal Obry
2008-06-26 16:08 ` Avery Pennarun
2008-06-26 19:05   ` Pascal Obry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox