git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Split a subversion repo into several git repos

From
Karl Hasselström <kha@treskal.com>
Date
Oct 11, 2007, 14:50 UTC
Message-ID
<20071011145019.GA5315@diana.vm.bytemark.co.uk>
In-Reply-To
<e2a1d0aa0710110702o359d6cd9yaa213be6a43924e4@mail.gmail.com>
On 2007-10-11 10:02:21 -0400, Patrick Doyle wrote:
Show 5 quoted lines
> Just be aware that, if you follow this approach, the commit logs
> created by git-svn will be rewritten (relative to the original SVN
> logs) with the SVN repository revision and ID information. I believe
> you can disable this behavior by passing the --no-metadata option to
> "git-svn init", but I haven't tried this yet.

Just to clarify: this is true for all git-svn use, and has nothing to do with this particular case.

Show 7 quoted lines
> I also believe that this approach will leave your git repository in
> such as state as to recognize that there is a remote repository from
> which this repository was fetched. I have no idea what implications
> and long term repercussions (if any) this has. It just dawned on me
> as I was rereading the git-svn man page to look for the --no-metdata
> option and read that it will "Set the noMetadata option in the
> [svn-remote] config". Most of that is still Greek to me.

Apart from the metadata appended to the commit messages (which you can turn off with --no-metadata), all the extra data saved by git-svn is purely local. Meaning that you can always get rid of it by cloning the repository, if you can't think of a cleverer way to do it.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Patrick DoyleNext: Sam Vilain
Message 6 of 11 in “Split a subversion repo into several git repos”
  1. Eivind LMOct 11, 2007
  2. Patrick DoyleOct 11, 2007
  3. Eivind LMOct 12, 2007
  4. Jonathan del StrotherOct 11, 2007
  5. Patrick DoyleOct 11, 2007
  6. Karl HasselströmOct 11, 2007
  7. Sam VilainOct 11, 2007
  8. Eivind LMOct 12, 2007
  9. Jonathan del StrotherOct 12, 2007
  10. Eivind LMOct 12, 2007
  11. Sam VilainOct 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.