EOL settings not honoured in Diff under Mono/Linux
Moderator: SourceGear
EOL settings not honoured in Diff under Mono/Linux
Hello,
I'm having some trouble using diff in the CLC under mono/Linux. I'm doing some cross platform development and I am editing sources under Windows. These sources have CRLF for newlines. When I check out these files under Linux the newline is correctly replaced with LF. Nice, no problem there.
But when I do a diff with the repository under mono/Linux the version that is fetched from vault for comparison does not honour the configured EOL settings. This results in differences for every line. Is this a know feature? or am I doing something wrong? I would expect the configured EOL rules to apply when doing a diff.
Setup is as follows.
Vault (3.5.1) 4786 (EOL setting for the DB is set to Native)
Windows XP SP2 client
Windows 2000 server (vault DB and server)
Slackware Linux 11 client
vault.exe -compareto option 'current'
mono 1.2.4
This look very similar to a problem a user had a couple of years back.
http://support.sourcegear.com/viewtopic ... t=eol+diff
But the thread went cold .....
And after all the CLC pain please can we have a GUI that runs under Linux, please !!
Regards,
Shed
I'm having some trouble using diff in the CLC under mono/Linux. I'm doing some cross platform development and I am editing sources under Windows. These sources have CRLF for newlines. When I check out these files under Linux the newline is correctly replaced with LF. Nice, no problem there.
But when I do a diff with the repository under mono/Linux the version that is fetched from vault for comparison does not honour the configured EOL settings. This results in differences for every line. Is this a know feature? or am I doing something wrong? I would expect the configured EOL rules to apply when doing a diff.
Setup is as follows.
Vault (3.5.1) 4786 (EOL setting for the DB is set to Native)
Windows XP SP2 client
Windows 2000 server (vault DB and server)
Slackware Linux 11 client
vault.exe -compareto option 'current'
mono 1.2.4
This look very similar to a problem a user had a couple of years back.
http://support.sourcegear.com/viewtopic ... t=eol+diff
But the thread went cold .....
And after all the CLC pain please can we have a GUI that runs under Linux, please !!
Regards,
Shed
What I can do right now is to enter a feature request for an -eol on Diff.
In the meantime, on your Get you can set an -eol option for "LF".
From our CLC Documentation under Get options:
-eol type
Mergable files which normally convert to native EOL will be converted to the given line-ending type when fetched. Available types are: "none", "cr", "lf", or "crlf".
In the meantime, on your Get you can set an -eol option for "LF".
From our CLC Documentation under Get options:
-eol type
Mergable files which normally convert to native EOL will be converted to the given line-ending type when fetched. Available types are: "none", "cr", "lf", or "crlf".