git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn tags and branches
@ 2007-08-27 14:08 Giuseppe Bilotta
  2007-08-27 15:09 ` David Kastrup
  2007-08-30 10:21 ` Eric Wong
  0 siblings, 2 replies; 17+ messages in thread
From: Giuseppe Bilotta @ 2007-08-27 14:08 UTC (permalink / raw)
  To: git

Hello all,

I've recently started using git and I like it so much that
I've decided to start using it also for some svn-based
projects (in particular, rbot http://linuxbrit.co.uk/rbot).

The long term goal would be to move the project to git, but
for the time being (among the other things we're waiting for
Trac to have proper support for git, which is something that
won't happen before Trac 0.12 at least) I've decided to
experiment with a dual git/svn development process, using
(of course) git-svn.

My experience with toying around with it for a couple of
hours has been extremely positive, but I've got some
questions, especially about the tags and branch management.

Currently, git-svn imports svn tags as lightweight git tags.
I was susprised when I discovered this (from 'git describe'
failing and some helpful assistance on the IRC channel), so
I'm now wondering: is there a technical reason why they
aren't converted to annotated tags? If not, would it be
possible to implement this in git-svn, possibly with some
way to 'fix' existing git-svn repository?

My second question concerns the uses of branche in git-svn,
but it might come from a not perfect understanding of the
branching mechanism in git (and yes, I've read the
documentation and Wiki pages).

If I understand correctly, svn branches are imported in
git-svn as remote branches (refs/remote/*) and are
automatically updated on git-svn fetch or git-svn fetch-all.

In my experiments, however, I've noticed the following
behaviour.

git branch --track trunk remote/trunk
<do some changes and git commit them, while still on branch master>
git svn dcommit

Now, master and remote/trunk point to the new roundtripped
changes, but the branch 'trunk' (in git) remains pointing to
the old remote/trunk head. I would have expected the --track
option to keep trunk in sync with remote/trunk ...

Or am I missing something obvious?

-- 
Giuseppe "Oblomov" Bilotta

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

end of thread, other threads:[~2007-08-30 16:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-27 14:08 git-svn tags and branches Giuseppe Bilotta
2007-08-27 15:09 ` David Kastrup
2007-08-27 15:31   ` Mike Hommey
2007-08-27 15:36     ` Benoit SIGOURE
2007-08-27 17:08       ` Giuseppe Bilotta
2007-08-27 15:42   ` Giuseppe Bilotta
     [not found]     ` <46D38B3D.6070809@vilain.net>
     [not found]       ` <85absc6we7.fsf@lola.goethe.zz>
     [not found]         ` <cb7bb73a0708280209r36136128x7bce310bf4fd4f66@mail.gmail.com>
     [not found]           ` <86sl64nhc1.fsf@lola.quinscape.zz>
     [not found]             ` <cb7bb73a0708280237v6f248517h183174bc41296df3@mail.gmail.com>
     [not found]               ` <46D4A664.4070007@vilain.net>
     [not found]                 ` <cb7bb73a0708281620v41383ed8w728af0112d2a6360@mail.gmail.com>
     [not found]                   ` <46D4ECE2.9020806@vilain.net>
2007-08-29  8:41                     ` Giuseppe Bilotta
2007-08-29  8:56                       ` Andreas Ericsson
2007-08-29  8:59                       ` Junio C Hamano
2007-08-29 10:53                         ` Giuseppe Bilotta
2007-08-29 20:15                           ` Junio C Hamano
2007-08-29 21:06                             ` Giuseppe Bilotta
     [not found]                             ` <cb7bb73a0708291402r3e9dfdeeh85bcc47ef9eba782@mail.gmail.com>
     [not found]                               ` <7vy7fu9h9n.fsf@gitster.siamese.dyndns.org>
2007-08-29 21:27                                 ` Giuseppe Bilotta
2007-08-30 10:21 ` Eric Wong
2007-08-30 11:44   ` Giuseppe Bilotta
2007-08-30 12:25     ` Peter Baumann
2007-08-30 16:01       ` Giuseppe Bilotta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).