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

Re: migrating from svn: How to clean up history?

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 13, 2011, 15:12 UTC
Message-ID
<m362hkh5em.fsf@localhost.localdomain>
In-Reply-To
<4EE766D5.5040702@goebel-consult.de>
Hartmut Goebel <h.goebel@goebel-consult.de> writes:
Show 10 quoted lines
> I'm one of the developers of www.pyinstaller.org, a tool for
> bundling/packagin Python scripts and al required modules into a single
> executable for easy distribution. We are in the process of migrating
> from Subversion to git.
> 
> Our SVN-Repo contains some stuff we do not want or do not need in the
> git repo. How can we clean this up?
> 
> 1) Useless commits e.g. tagging -> I want to remove these
> 2) copy or move mistakes -> I want to "correct" the copy
[...]
> Any hints how to to this clean-up?

You can try "gitsvnparse" command from 'reposurgeon' tool to automatically correct some conversion mistakes, and use this tool to do further fixes

  http://www.catb.org/esr/dvcs-migration-guide.html
  http://www.catb.org/~esr/reposurgeon/
HTH
-- 
Jakub Narebski
Previous: Hartmut GoebelNext: Thomas Ferris Nicolaisen
Message 2 of 3 in “migrating from svn: How to clean up history?”
  1. Hartmut GoebelDec 13, 2011
  2. Jakub NarebskiDec 13, 2011
  3. Thomas Ferris NicolaisenDec 16, 2011

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.