Re: Git

Guy Hulbert <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <1256509469.9389.567.camel@cray>
On Sun, 2009-25-10 at 17:38 -0400, Rocco Caputo wrote:
> Hello, Guy.  Do you have experience recovering a git clone from years  
> of historical mistakes in other version control systems?  I could 

Sadly, no.

I believe there are other projects, which have had to manually fix
things but I can't remember which one(s).  Ask Bjorn Hansen (qpsmtpd)
spent a few months using git and at least several weeks doing his
migration.  If you look at the mailing list (it's on perl.org) you
should be able to find out if he did anything special.

I recently discovered that "subproject support" is in all the current
debian versions of git.  I had thought it was later than 1.6.0 but it's
in 1.5.3, iirc.  You should look at that.  It's quite simple.  I intend
to play with it to see how flexible it is ... I had been
using .git/info/exclude to fake it.

You will have to set up the subprojects at the start though.  However it
may ease your patching by making on giant problem into several smaller
ones.

>  
> really use that right now.

[snip]
>   I'd like to regain that old  
> history.  I'm considering cloning the git repository up until the  
> diversion point, rebasing a broken branch onto the clone, and then  
> deleting all the files the project doesn't need.

That sounds about right.

-- 
--gh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.