Re: [Fwd: Re: cvs2git conversion misses rev 1.1 of a file with CVSRevisionReader but NOT RCSRevisionReader]

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
Michael Haggerty wrote:
> [I am forwarding this email to the mailing list because the poster
> couldn't get our ML to accept it.]
> 
> On Thu, Jun 04, 2009 at 02:38:57AM -0700, Robin H. Johnson wrote:
>> I was working on some plans to verify the conversion of the Gentoo repository,
>> and very early I found this weirdness, directly between CVSRevisionReader and
>> RCSRevisionReader.
>>
>> When CVSRevisionReader is used, the file does NOT contain any content.
>> When RCSRevisionReader is used, the file does contain the correct content.
>>
>> The RCS file is very simple:
>> 1.1: File added, one line of content.
>> 1.2: File removed.
>>
>> My minimal testcase is attached.
>>
>> Here's a diff that shows the problem best:
>> diff -Nuar tmpdir-cvsRevisionReader/git-blob.dat tmpdir-rcsRevisionReader/git-blob.dat
>> --- tmpdir-cvsRevisionReader/git-blob.dat	2009-06-04 09:03:32.524684568 +0000
>> +++ tmpdir-rcsRevisionReader/git-blob.dat	2009-06-04 09:03:32.977186152 +0000
>> @@ -1,4 +1,5 @@
>>  blob
>>  mark :1
>> -data 0
>> +data 56
>> +MD5 0ba5367059abdd55daceb82dce6be42f mutt-1.2.5i.tar.gz

Thanks for the bug report and sorry for the delayed response.  I think
that you are observing the problem that was fixed by trunk r4642 (not
yet in a cvs2svn release).  Please try the trunk version and let us know
if that fixes your problem.

Please remember that your options file probably has to be adjusted to
account for differences between 2.2.0 and trunk; it might be easiest to
start over with trunk/cvs2git-example.options (which is anyway now
self-contained and therefore easier to work with).

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2362604

To unsubscribe from this discussion, e-mail: [[email protected]].
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.