# cvs2git failed in pass2 ...

5 messages from 2012-02-21 to 2019-01-07. Participants: supadhyay, paduarte, Jonathan Nieder.
Thread: https://gitlist.dev/t/29681

## supadhyay, 2012-02-21 12:52

Subject: cvs2git failed in pass2 ...
Message-ID: <1329828722466-7304605.post@n2.nabble.com>
URL: https://gitlist.dev/e/1329828722466-7304605.post%40n2.nabble.com

```
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, 2012-02-21 14:19

Subject: Re: cvs2git failed in pass2 ...
Message-ID: <1329833989049-7304832.post@n2.nabble.com>
URL: https://gitlist.dev/e/1329833989049-7304832.post%40n2.nabble.com
In-Reply-To: <1329828722466-7304605.post@n2.nabble.com>

```
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, 2012-02-21 15:17

Subject: Re: cvs2git failed in pass2 ...
Message-ID: <1329837442995-7305031.post@n2.nabble.com>
URL: https://gitlist.dev/e/1329837442995-7305031.post%40n2.nabble.com
In-Reply-To: <1329828722466-7304605.post@n2.nabble.com>

```
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, 2019-01-07 15:06

Subject: Re: cvs2git failed in pass2 ...
Message-ID: <1546873568530-0.post@n2.nabble.com>
URL: https://gitlist.dev/e/1546873568530-0.post%40n2.nabble.com
In-Reply-To: <1329837442995-7305031.post@n2.nabble.com>

```
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, 2019-01-07 23:13

Subject: Re: cvs2git failed in pass2 ...
Message-ID: <20190107231325.GC192553@google.com>
URL: https://gitlist.dev/e/20190107231325.GC192553%40google.com
In-Reply-To: <1546873568530-0.post@n2.nabble.com>

```
+users@cvs2svn.tigris.org
paduarte wrote:

Hi,

> 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
> :)

```
