Convert - correct EOL style
Stanimir Stamenkov
s7an10 at netscape.net
Tue Jan 5 15:57:21 CST 2010
I'm currently seeking whether it is possible to correct the EOL
style of files when converting (either Subversion to Mercurial or
Mercurial to Mercurial) repository, from the very first revision of
the files. That is, initially they have been added without
svn:eol-style=native property into a Subversion repo, then their EOL
style got mixed-up and completely changed couple of times, which
gives false impression the content being changed completely (couple
of times).
I have in .hgrc:
[extensions]
hgext.win32text =
[hooks]
pretxncommit.crlf = python:hgext.win32text.forbidcrlf
[encode]
** = cleverencode:
[decode]
** = cleverdecode:
but seems the encoder doesn't work during conversion as the 'crlf'
commit hook fails. Is it currently possible to correct the EOL
style of files during repository conversion?
--
Stanimir
More information about the Mercurial
mailing list