* git-svn fetch after tag conversion?
@ 2014-02-21 14:42 Robert Dailey
2014-02-21 15:53 ` Torsten Bögershausen
0 siblings, 1 reply; 2+ messages in thread
From: Robert Dailey @ 2014-02-21 14:42 UTC (permalink / raw)
To: Git
I'm converting a large SVN repository to a Git repository. I've run
the first step of `git svn fetch` and now I have all of my branches,
tags, and trunk. However my tags are still just branches, I have not
converted them yet.
As I transition my team over to use Git, I wonder if it is possible to
convert the tag-branches to real tags and still be able to do `git svn
fetch` afterwards to continue to pull in changes. My goal is to have
the git repository as ready as possible so that everyone can swap to
it at once (and it'll be less downtime before i can push it to
github). There are some scenarios I worry about:
- Will git re-fetch the tag-branches if they technically don't exist
anymore (they would be real tags)?
- What if a change is made to a tag, what will git-svn do?
- New tags created, will those just create new tag-branches and I can
convert them later?
Thanks in advance.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-svn fetch after tag conversion?
2014-02-21 14:42 git-svn fetch after tag conversion? Robert Dailey
@ 2014-02-21 15:53 ` Torsten Bögershausen
0 siblings, 0 replies; 2+ messages in thread
From: Torsten Bögershausen @ 2014-02-21 15:53 UTC (permalink / raw)
To: Robert Dailey, Git
On 2014-02-21 15.42, Robert Dailey wrote:
> I'm converting a large SVN repository to a Git repository. I've run
> the first step of `git svn fetch` and now I have all of my branches,
> tags, and trunk. However my tags are still just branches, I have not
> converted them yet.
>
> As I transition my team over to use Git, I wonder if it is possible to
> convert the tag-branches to real tags and still be able to do `git svn
> fetch` afterwards to continue to pull in changes. My goal is to have
> the git repository as ready as possible so that everyone can swap to
> it at once (and it'll be less downtime before i can push it to
> github). There are some scenarios I worry about:
>
> - Will git re-fetch the tag-branches if they technically don't exist
> anymore (they would be real tags)?
> - What if a change is made to a tag, what will git-svn do?
> - New tags created, will those just create new tag-branches and I can
> convert them later?
>
> Thanks in advance.
I stumbled over this as well.
As a tag and a branch is "the same" in svn, the best thing we can do
is to keep the svn tags as git branches, in the same way svn does.
Would it work if you make a script to tag the svn tags with a different name,
like "git_tag_v1.0" or so ?
Otherwise: just set up a test repo and see what happens ;-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-21 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-21 14:42 git-svn fetch after tag conversion? Robert Dailey
2014-02-21 15:53 ` Torsten Bögershausen
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).