Re: cvs2git: question on --keywords-off

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 09/25/2010 10:19 AM, Mathieu Malaterre wrote:
> To answer myself, I found the patch online at:
> 
> http://permalink.gmane.org/gmane.comp.version-control.subversion.cvs2svn.user/2583
> 
> changing suppress_keyword_substitution=False to
> suppress_keyword_substitution=True in
> cvs2svn_lib/fulltext_revision_recorder.py did the trick !

Yes, the handling of keywords is obscure in cvs2svn and pretty much
nonexistent in cvs2git.  I have been working to try to improve the
situation but haven't had much time lately.

The workaround that you used should be fine for people who always want
keywords collapsed.  I'm not sure whether binary files go through the
affected code path.  But if so, the workaround might cause problems with
a binary file that contains a series of bytes that looks like a
partly-expanded keyword, because the "-kk" option would cause it to be
collapsed.  (Usually, binary files should be checked out with "-kb".)

Michael

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2669481

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.