Re: Keywords not collapsed when using ExternalBlobGenerator

Michael Haggerty <[email protected]> Mon, 08 Aug 2011 07:25:18 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
On 08/04/2011 04:44 PM, James Blackburn wrote:
> The default cvs2git.options contains, uses the CVSRevisionReader &
> specifies KeywordHandlingPropertySetter('collapsed').  This seems to
> work well.  Keywords aren't expanded as expected.  
> 
> However as noted the above is very slow.  When using the
> ExternalBlobGenerator I notice Keywords are expanded (or perhaps they're
> untouched...).  Is this a known issue, and is there a workaround? 

This is a known issue.  The idea was to change ExternalBlobGenerator to
respect the _keyword_handling and _eol_fix options, but this hasn't been
implemented yet (and I've been distracted by other projects).  Much of
the work is done already; for example, the file property setters are
invoked already in CollectRevsPass so the properties are available when
they would be needed.

For more information, see

* doc/properties.txt
* The RevisionReader.get_content() docstring
* doc/text-transformations.txt

Michael

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

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

To unsubscribe from this discussion, e-mail: [[email protected]].