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

Re: [PATCH] contrib/svn-fe: Fast script to remap svn history

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 22, 2010, 17:42 UTC
Message-ID
<20101122174242.GD2084@burratino>
In-Reply-To
<15144262.32618.1290434477881.JavaMail.root@mail.hq.genarts.com>
Stephen Bash wrote:
> This has been discussed (and IMO it is essentially required to achieve high accuracy in the mapping):
> 
> http://thread.gmane.org/gmane.comp.version-control.git/158940/focus=159331

I think the suggestion of that thread was (tweaked a little) something like this:

 - List of directories with copyfrom information.
   Prune them so no listed directory is an ancestor of another.
   The result would usually be a single directory name.
 - Record that directory's (or those directories') copyfrom
   information in the log message.

In general, I don't like limiting the information accessible to branch mappers this way. Maybe a branch mapper would like to look at the copyfrom information for files instead of directories. But this does have the advantages of being simple and of not littering imported trees with spurious files.

It also leaves open the question of how we would record unhandled node properties (like svn:ignore and svn:eol) and empty directories, if at all.

Probably in the end we will have to give up and provide multiple options to choose between. :)

Jonathan
Previous: Stephen Bash
Message 7 of 7 in “contrib/svn-fe: Fast script to remap svn history”
  1. contrib/svn-fe: Fast script to remap svn historyDavid Barr, Oct 7, 2010
  2. Sverre RabbelierOct 7, 2010
  3. David Michael BarrOct 7, 2010
  4. Jonathan NiederOct 7, 2010
  5. Jonathan NiederNov 21, 2010
  6. Stephen BashNov 22, 2010
  7. Jonathan NiederNov 22, 2010

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.