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

Re: SVN to Git: trunk moved during repository history

From
USUlrich Spörlein <uqs@spoerlein.net>
Date
Apr 23, 2010, 15:12 UTC
Message-ID
<20100423151235.GZ92627@acme.spoerlein.net>
In-Reply-To
<l2o2f0f6ced1004210703rf3ce8781kd209e99d2b577b76@mail.gmail.com>
On Wed, 21.04.2010 at 10:03:16 -0400, Bradley Wagner wrote:
> Hmm, I'm not seeing where in the documentation you would instruct it
> to look in multiple locations in the SVN repository's history for the
> trunk branch.

I did this for the FreeBSD repo, where one or two branches were moved to some other level. I can't get to the rule file right now, but you need to figure out the revisions when the layout changed.

Then use something like this (from the top of my head, most likely buggy)

match /
  min-revision 1
  max-revision 100
  branch master
end
match /trunk
  min-revision 101
  branch master
end

... you get the drift. Ask again if something is unclear, next time I get to my rules files I can give you a better example.

Bye, Uli

Previous: Bradley WagnerNext: Bradley Wagner
Message 4 of 5 in “SVN to Git: trunk moved during repository history”
  1. Bradley WagnerApr 19, 2010
  2. Stephen KellyApr 20, 2010
  3. Bradley WagnerApr 21, 2010
  4. Ulrich SpörleinApr 23, 2010
  5. Bradley WagnerApr 27, 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.