Thread (5 messages) flat view 5 messages, 3 authors, 2016-08-11

Re: Advice on converting to git from versioning-by-directory

From: Andy Parkins <hidden>
Date: 2016-08-11 19:35:42

On Thursday 2006 November 23 10:07, Jeff King wrote:
If I understand you correctly, you want to take four branches, each with
data in version1/, version2/, etc, and make it look like they all had
data in the project root throughout history. Is that right?
Yes.  In essence I want to move the spatial dimension (directories) into git's 
time dimension (branches).
If so, cogito's cg-admin-rewritehist can probably do what you want (I
also posted a script a while back to do this exact thing, and I can dig
it up if you want).
I will have a look at cg-admin-rewritehist.  After Andy pointed out that they 
were just like traditional svn branches, I'm having good luck using multiple 
runs of git-svn to track each directory as if it were a separate branch.

Thank you for the offer of a script, but don't go to any trouble to find it 
just yet.  I think I have it licked now.


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help