threads / discuss / 29681

cvs2git failed in pass2 ...

Subject: cvs2git failed in pass2 ...

## tl;dr

5 messages between Feb 21, 2012 and Jan 7, 2019.

replies: 4people: 3as markdown or json

supadhyay· Feb 21, 2012, 12:52 UTC · lore
Hi All,

I am using cvs2svn tool to convert my CVS repository to GIT. I have download the "cvs2svn-2.3.0.tar.gz" file.

I have created git user to install GIT and then using the same user (git) I try to run "./cvs2git" command below way.

./cvs2git \ --blobfile=/home/git/tmp/git-files/git-blob.dat \ --dumpfile=/home/git/tmp/git-files/git-dump.dat \ --username=git /opt/source/Repo_from_CVS/VD

It took around 10 mins to finish pass1 and for pass 2 it raised the warnings and messages like below ============================================================== Done

Time for pass1 (CollectRevsPass): 526.3 seconds.
----- pass 2 (CleanMetadataPass) -----
Converting metadata to UTF8...
WARNING: Problem decoding log message:
---------------------------------------------------------------------------
version 4  - Note concerning “Leave One” option for Internal Duplicate Check
added
 
---------------------------------------------------------------------------
WARNING: Problem decoding log message:
---------------------------------------------------------------------------
......
......
......
---------------------------------------------------------------------------
WARNING: Problem decoding log message:
---------------------------------------------------------------------------
all labels to be right-justified
all labels to end with “:”
removed Selected Error Codes label
‘Select One’ dropdowns are horizontally aligned with corresponding text
boxes
 
---------------------------------------------------------------------------
ERROR: There were warnings converting author names and/or log messages
to Unicode (see messages above).  Please restart this pass
with one or more '--encoding' parameters or with
'--fallback-encoding'.

*********************************************************************************** can any one suggest me how to overcome this warning or any workaround ??

Thanks in advance...

-- View this message in context: http://git.661346.n2.nabble.com/cvs2git-failed-in-pass2-tp7304605p7304605.html Sent from the git mailing list archive at Nabble.com.

supadhyay· Feb 21, 2012, 14:19 UTC · re: supadhyay · lore

Re: cvs2git failed in pass2 ...

Hi All,

Can any one know how to overcome this error... I tried with --encoding=UTF8 but the same error.

I also gave a try with --fallback-encoding but seems like its exclude comments from their output as shown below:

Time for pass2 (CleanMetadataPass): 0.590 seconds.
 
cvs2svn Statistics:
------------------
Total CVS Files:              9025
Total CVS Revisions:         39243
Total CVS Branches:          76789
Total CVS Tags:            1276127
Total Unique Tags:             480
Total Unique Branches:          32
CVS Repos Size in KB:       872465
First Revision Date:    Mon Aug  2 15:07:28 2004
Last Revision Date:     Fri Feb 17 13:10:27 2012
------------------
*(These are unaltered CVS repository stats and do not
 reflect tags or branches excluded via --exclude)
Timings (seconds):*
------------------
530.3   pass1    CollectRevsPass
  0.6   pass2    CleanMetadataPass
530.9   total

-- View this message in context: http://git.661346.n2.nabble.com/cvs2git-failed-in-pass2-tp7304605p7304832.html Sent from the git mailing list archive at Nabble.com.

supadhyay· Feb 21, 2012, 15:17 UTC · re: supadhyay · lore

Re: cvs2git failed in pass2 ...

Hi All,

I am able to run cvs2git command successfully by adding --encoding=ascii --encoding=utf8 --encoding=utf16 --encoding=latin

Thanks...

-- View this message in context: http://git.661346.n2.nabble.com/cvs2git-failed-in-pass2-tp7304605p7305031.html Sent from the git mailing list archive at Nabble.com.

paduarte· Jan 7, 2019, 15:06 UTC · re: supadhyay · lore

Re: cvs2git failed in pass2 ...

Hi supadhyay
How did the complete command work?
cvs2git  --encoding=ascii --encoding=utf8 --encoding=utf16 --encoding=latin
or 

cvs2git --encoding=ascii --encoding=utf8 --encoding=utf16 --encoding=latin *+ parameters of git*

?

Tks :)

-- Sent from: http://git.661346.n2.nabble.com/

Jonathan Nieder· Jan 7, 2019, 23:13 UTC · re: paduarte · lore

Re: cvs2git failed in pass2 ...

+users@cvs2svn.tigris.org paduarte wrote:

Hi,
Show 10 quoted lines
> How did the complete command work?
>
> cvs2git  --encoding=ascii --encoding=utf8 --encoding=utf16 --encoding=latin
>
> or
>
> cvs2git --encoding=ascii --encoding=utf8 --encoding=utf16 --encoding=latin
> *+ parameters of git*
>
> ?
Cc-ing the cvs2git users list, who may be able to help you.

Thanks and hope that helps, Jonathan

> Tks
> :)

← back to recent threads