Skip to contentSkip to conversation

cvs2git failed in pass2 ...

DISCUSSION supadhyay 3 participants 5 messages Jun 15, 2016 – Jan 7, 2019

lore
Share & tools
lore

supadhyay

author
#0 lore raw

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.

author
#1 lore raw

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.

#3 lore raw

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/

#4 lore raw

[email protected]
paduarte wrote:

Hi,

Quoted 10 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

Quoted 2 lines

Tks
:)