Re: SVN to Git: trunk moved during repository history
- From
- Ulrich 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