Sorry,
I had not described the visible changes in my last mail.
Could you see below, please ?

I converted lib/libcrypto/man/ in the OpenBSD tree into git repository
by cvs2git without my patch, first.
'KeywordHandlingPropertySetter' is set to 'expanded' in option file.

There is a file OCSP_REQUEST_new.3, rev of this file is 1.7 in CVS,
and git logs are like this.
======================================================================
$ git log -- OCSP_REQUEST_new.3

commit 9ccd62bd4c373737e023f420c26cf5fc2fa63ebc
Author: schwarze <>
Date:   Sun Dec 25 22:15:10 2016 +0000

    Consistently mark up various ASN.1 type names defined in standards
    related to X.509 with .Vt such that they can be searched for.

commit a56b815e5b46005e82e432767e34ff821d7653f8
Author: schwarze <>
Date:   Sat Dec 24 01:29:40 2016 +0000

    sprinkle some cross references to newly written x509v3 manual pages
...
======================================================================
This file was modified on Dec 25 last.

But, $OpenBSD and $Mdocdate in OCSP_REQUEST_new.3 are like this.
======================================================================
$ grep -e OpenBSD -e Mdocdate OCSP_REQUEST_new.3
.\"     $OpenBSD: OCSP_REQUEST_new.3,v 1.6 2016/12/24 01:29:40 schwarze Exp $
.Dd $Mdocdate: December 24 2016 $
======================================================================
This is not good since keyword expansions were not done for $OpenBSD
and $Mdocdate.
In this case, date should be '2016/12/25', and rev should be 1.7.

Next, running cvs2git after applying my patch.
Now, $OpenBSD and $Mdocdate in OCSP_REQUEST_new.3 are like this.
======================================================================
$ grep -e OpenBSD -e Mdocdate OCSP_REQUEST_new.3
.\"     $OpenBSD: OCSP_REQUEST_new.3,v 1.7 2016/12/25 22:15:10 schwarze Exp $
.Dd $Mdocdate: December 25 2016 $
======================================================================
This is OK, and date is set to '2016/12/25' and rev is set to 1.7.

Best regards,

Kinichiro Inoguchi


On Wed, Jan 11, 2017 at 12:58:06PM +0900, kinichiro inoguchi wrote:
> Hi,
> 
> Thanks for checking this.
> I also wanted to convert part of OpenBSD source tree to git repo.
> 
> My procedures are,
> 1. Run cvs2git with setting expanded to  'KeywordHandlingPropertySetter' in
> option file for CVS that contains ,v files in it.
> 2. Import it into new git repo.
> 3. git clone and compare git log and some file that has OpenBSD or Mdocdate.
> 
> Without my patch, git log information and expanded OpenBSD and Mdocdate
> were different since keyword expansion was not done for those 2 keywords.
> Information by git log is right.
> 
> Does my explanation make sense ?
> 
> Best regards,
> 
> Kinichiro

Reply via email to