* conversion from svn with renames
@ 2007-07-29 12:23 Ricardo SIGNES
2007-11-16 3:16 ` Väinö Järvelä
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo SIGNES @ 2007-07-29 12:23 UTC (permalink / raw)
To: git
I'd like to convert svn.codesimply.com/projects' contents to git.
Right now, the content is like this:
/projects/$PROJECTNAME/{trunk,tags,branches}
git-svnimport does well if I specify projects/$PROJECTNAME/trunk as the trunk
directory and that/tags as the tags directory. (I am not interested in
bothering with branches.) The problem is this:
For many of the projects, $PROJECTNAME was once "foo" and is now "bar."
git-svnimport only imports the history from the current name.
I tried to import foo, then bar, into one git repostiory, but the histories
didn't seem to get connected. Sam V. suggested git-filter-branch, but I didn't
quite see how to make it do what I wanted.
I would greatly appreciate any advice or help on this conversion.
--
rjbs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: conversion from svn with renames
2007-07-29 12:23 conversion from svn with renames Ricardo SIGNES
@ 2007-11-16 3:16 ` Väinö Järvelä
2007-11-16 3:49 ` Väinö Järvelä
0 siblings, 1 reply; 3+ messages in thread
From: Väinö Järvelä @ 2007-11-16 3:16 UTC (permalink / raw)
To: Ricardo SIGNES; +Cc: git
Hi,
I tried importing an SVN project with svn-import, and the project had
been renamed once. It seems that git-svn is more mature tool for this,
even if svn-import seems to be the one to use. If I remember
correctly, there was even talk about this very same case in the
mailing list archives.
To make a complete conversion from SVN repository to GIT repositories,
just use --no-metadata option to remove all the metadata git-svn
normally appends to the commit messages. There will also be some cruft
in the .git/config file, I removed those, and have had an working
import with renames from SVN.
--
Väinö
On Jul 29, 2007, at 15:23, Ricardo SIGNES wrote:
>
> I'd like to convert svn.codesimply.com/projects' contents to git.
>
> Right now, the content is like this:
>
> /projects/$PROJECTNAME/{trunk,tags,branches}
>
> git-svnimport does well if I specify projects/$PROJECTNAME/trunk as
> the trunk
> directory and that/tags as the tags directory. (I am not interested
> in
> bothering with branches.) The problem is this:
>
> For many of the projects, $PROJECTNAME was once "foo" and is now
> "bar."
> git-svnimport only imports the history from the current name.
>
> I tried to import foo, then bar, into one git repostiory, but the
> histories
> didn't seem to get connected. Sam V. suggested git-filter-branch,
> but I didn't
> quite see how to make it do what I wanted.
>
> I would greatly appreciate any advice or help on this conversion.
>
> --
> rjbs
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: conversion from svn with renames
2007-11-16 3:16 ` Väinö Järvelä
@ 2007-11-16 3:49 ` Väinö Järvelä
0 siblings, 0 replies; 3+ messages in thread
From: Väinö Järvelä @ 2007-11-16 3:49 UTC (permalink / raw)
To: Väinö Järvelä; +Cc: Ricardo SIGNES, git
Eh, sorry for replying to a old post, I had accidentally had my mail
sorted in reverse. I hope the post was still useful.
--
Väinö
On Nov 16, 2007, at 05:16, Väinö Järvelä wrote:
> Hi,
>
> I tried importing an SVN project with svn-import, and the project
> had been renamed once. It seems that git-svn is more mature tool for
> this, even if svn-import seems to be the one to use. If I remember
> correctly, there was even talk about this very same case in the
> mailing list archives.
>
> To make a complete conversion from SVN repository to GIT
> repositories, just use --no-metadata option to remove all the
> metadata git-svn normally appends to the commit messages. There will
> also be some cruft in the .git/config file, I removed those, and
> have had an working import with renames from SVN.
>
> --
> Väinö
>
> On Jul 29, 2007, at 15:23, Ricardo SIGNES wrote:
>
>>
>> I'd like to convert svn.codesimply.com/projects' contents to git.
>>
>> Right now, the content is like this:
>>
>> /projects/$PROJECTNAME/{trunk,tags,branches}
>>
>> git-svnimport does well if I specify projects/$PROJECTNAME/trunk as
>> the trunk
>> directory and that/tags as the tags directory. (I am not
>> interested in
>> bothering with branches.) The problem is this:
>>
>> For many of the projects, $PROJECTNAME was once "foo" and is now
>> "bar."
>> git-svnimport only imports the history from the current name.
>>
>> I tried to import foo, then bar, into one git repostiory, but the
>> histories
>> didn't seem to get connected. Sam V. suggested git-filter-branch,
>> but I didn't
>> quite see how to make it do what I wanted.
>>
>> I would greatly appreciate any advice or help on this conversion.
>>
>> --
>> rjbs
>> -
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-16 3:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 12:23 conversion from svn with renames Ricardo SIGNES
2007-11-16 3:16 ` Väinö Järvelä
2007-11-16 3:49 ` Väinö Järvelä
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).