* git-svn question
[not found] <f2e8061d0612210927p2d18adb4u995ce16702fc3b08@mail.gmail.com>
@ 2006-12-21 17:34 ` Joseph Carrafa
2006-12-21 18:21 ` Seth Falcon
0 siblings, 1 reply; 4+ messages in thread
From: Joseph Carrafa @ 2006-12-21 17:34 UTC (permalink / raw)
To: git
I have a question concerning using git with an svn repo. I have a
local git repo that was created with git svn init
$SVNROOT/branches/2.2.0. we moved the svn branch to
$SVNROOT/branches/2.3.0. how can i change my local git repo to commit
to the new svn branch, $SVNROOT/branches/2.3.0?
Thanks
-Joe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn question
2006-12-21 17:34 ` git-svn question Joseph Carrafa
@ 2006-12-21 18:21 ` Seth Falcon
0 siblings, 0 replies; 4+ messages in thread
From: Seth Falcon @ 2006-12-21 18:21 UTC (permalink / raw)
To: Joseph Carrafa; +Cc: git
"Joseph Carrafa" <carrafaj@gmail.com> writes:
> I have a question concerning using git with an svn repo. I have a
> local git repo that was created with git svn init
> $SVNROOT/branches/2.2.0. we moved the svn branch to
> $SVNROOT/branches/2.3.0. how can i change my local git repo to commit
> to the new svn branch, $SVNROOT/branches/2.3.0?
See this thread:
http://article.gmane.org/gmane.comp.version-control.git/33715/match=seth+falcon
And read the Advanced Example: Tracking a Reorganized Repository in
the git-svn man page.
+ seth
^ permalink raw reply [flat|nested] 4+ messages in thread
* git-svn question
@ 2010-07-15 17:18 carbonated beverage
2010-07-15 18:50 ` Wesley J. Landaker
0 siblings, 1 reply; 4+ messages in thread
From: carbonated beverage @ 2010-07-15 17:18 UTC (permalink / raw)
To: git
Hi all,
I'm trying to figure out how to import a rather large SVN tree that has been
around for a while, initially converted from CVS.
The layout is a bit odd. Instead of standard branch/tags/trunk, it has those
directories multiply nested, e.g.:
A/
A/branches
A/branches/B
A/branches/B/branches
A/branches/B/tags
A/branches/B/trunk
A/tags/tag-1/branches
A/tags/tag-1/tags/B/branches
A/tags/tag-1/tags/B/tags
A/tags/tag-1/tags/B/trunk
A/tags/tag-1/trunk
A/trunk
etc.
Given multiple projects that are nested as such, is there a way to get git-svn
to import the tree and be able to derive the tags and branches? Also, this
tree is a little over 1TiB in size, though a large chunk of that is due to
the duplicates made by SVN's branches/tags.
Thanks,
-- DN
Daniel N.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-svn question
2010-07-15 17:18 carbonated beverage
@ 2010-07-15 18:50 ` Wesley J. Landaker
0 siblings, 0 replies; 4+ messages in thread
From: Wesley J. Landaker @ 2010-07-15 18:50 UTC (permalink / raw)
To: carbonated beverage; +Cc: git
On Thursday, July 15, 2010 11:18:49 carbonated beverage wrote:
> I'm trying to figure out how to import a rather large SVN tree that has
> been around for a while, initially converted from CVS.
[...]
> Given multiple projects that are nested as such, is there a way to get
> git-svn to import the tree and be able to derive the tags and branches?
> Also, this tree is a little over 1TiB in size, though a large chunk of
> that is due to the duplicates made by SVN's branches/tags.
That sounds pretty messed up. Someone may have better advice, but I'd
probably approach it by doing one or more of the following:
1) Fix it up with svndumpfilter first to get rid of useless or duplicated
parts, then import it.
2) Once imported into use git rebase and/or git filter-branch to clean
things up until it's how you like it.
3) If all else fails, archive the SVN repository (or the git imported
equivalent), call it "old history", and then start over and manually import
only the active and useful branches and tags into git.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-15 18:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <f2e8061d0612210927p2d18adb4u995ce16702fc3b08@mail.gmail.com>
2006-12-21 17:34 ` git-svn question Joseph Carrafa
2006-12-21 18:21 ` Seth Falcon
2010-07-15 17:18 carbonated beverage
2010-07-15 18:50 ` Wesley J. Landaker
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).