Re: cvs2git --dumpfile not created
Michael Haggerty <[email protected]> Thu, 21 Jun 2012 16:56:11 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 06/21/2012 02:57 PM, Michel SIMIAN wrote:
> Le 21/06/2012 12:47, Michael Haggerty a écrit :
>> 2. What did cvs2git print out while running? (Probably it printed an
>> error message explaining why it stopped before finishing.) If you need
>> more information, run cvs2git in very verbose mode ("-vvv").
> There were errors and warnings I can't understand :
>
> for example, for about 25 files (in a tree containing more than 8600) I
> have a
> ERROR: File '/home/cvsrepository/...' has default branch=1.1.1 but also
> a revision 1.2
This means that somebody manually reset the default branch back to 1.1.1
after having made local edits to the file. CVS does not retain enough
information for cvs2git to infer the correct history of such a file. If
you want to retain the history, you need to fix up these files manually
(either remove the default branch setting or remove revisions 1.2 (and
later if any).
> [...]
> But there are remaining warnings such as :
>
> In '../cvsrepos/.../servcomm.h,v':
> branch 'TRUNC' references invalid revision 1
> and will be ignored.
>
> I don't know how this will impact later import
>
> But how can I correct the previous warning ?
You can either change TRUNC to point at a real revision, or delete that
symbol (which is just the same result as ignoring the warning).
> Now, I used git fast-import which runs without errors. But if I clone
> the new repository , all files are empty. 0 byte length...
> what's the matter ?
>
>> 3. Try using the trunk version of cvs2git if you are not already doing
>> so.
> I will do so, ief ever...
Try the trunk version of cvs2git. It should work better than the
release version. It might fix your problem with files of zero size, but
if it doesn't then at least you will be working with a version that
somebody might have an interest in fixing.
Michael
--
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2972475
To unsubscribe from this discussion, e-mail: [[email protected]].