Re: Preserving CVS history

Cesar Strauss <[email protected]> Sun, 09 Nov 2014 19:54:06 -0200
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <[email protected]>
On 10/29/2014 07:18 PM, Keith Marshall wrote:
> On 29/10/14 20:42, Cesar Strauss wrote:
>> On 23/10/2014 21:35, Keith Marshall wrote:
>>> On 23/10/14 22:06, Cesar Strauss wrote:
>> It seems the underlying repository is accessible by rsync:
>>
>> rsync -avz cygwin.com::src-cvs/src/winsup/w32api srcdir
>> rsync -avz cygwin.com::src-cvs/src/winsup/mingw srcdir
> 
> Good to know, thanks.
> 
>> I'm using this tool to convert directly from the raw CVS repositories to 
>> Git:
>>
>> http://cvs2svn.tigris.org/cvs2git.html
>>
>> I'll just remove the last commit, which deleted the files.
> 
> Seems good to me ... as a separate git repo; (rewriting history in the
> existing WSL repo would not be a good idea).
> 

I converted the above subset of the Cygwin repository as two Git
repositories: mingwrt and w32api.

I used cvs-fast-export, roughly following this guide:

DVCS migration HOWTO
http://www.catb.org/esr/dvcs-migration-guide.html

The conversion is available temporarily at my SF user project at:

1) Web view:
https://sourceforge.net/u/cstrauss/mingwrt/ci/master/tree/
https://sourceforge.net/u/cstrauss/w32api/ci/master/tree/

2) Read-only git clone:
git clone git://git.code.sf.net/u/cstrauss/mingwrt
git clone git://git.code.sf.net/u/cstrauss/w32api

If you agree, I'll publish them both on the MinGW project.

It seems you resumed development of mingwrt under the legacy branch of
the WSL repository. Would it make sense to use the mingwrt repository
instead?

I noticed that the CVS repository contains newer commits that were never
released in the 3.x branch. For instance, the ChangeLog of mingwrt-3.20
ends in 08/23/2011 but the CVS history goes up to 08/08/2012. Likewise,
the ChangeLog of w32api-3.18 ends in 03/25/2011, but the CVS history
goes up to 08/10/2012. I suppose these additional commits can be
reverted in a subsequent commit, or erased altogether from the master
branch, if you find it convenient.

Regards,

Cesar


------------------------------------------------------------------------------