2014-11-25 16:33 GMT+01:00 Stefan Bellon <sbel...@sbellon.de>:
> Dear Fossilers,
>
> we just came across some strange behaviour with Fossil on Windows (we
> use it with crnl-glob set to "*" in order to get rid of interactive
> warnings when doing automated commits, in case this matters).
>
> If files checked in have CR+LF line endings, then they are correctly
> put into a local working copy, but when using "fossil cat" or "fossil
> finfo -p" to retrieve the file (via stdout redirection), then the CR
> gets duplicated, so line endings are no longer CR+LF, but instead
> CR+CR+LF ... which is ... a problem.

SQLite's csv output had the same problem in the past, which was
fixed by switching to binary mode temporary in this case. See:

    
<http://www.fossil-scm.org/index.html/artifact/bc28d5992109717c87804e2eb1a08a7c8cc7a2fd?ln=885-888>

I think fossil should do the same in this case. That is a valid
request in my view.

Regards,
        Jan Nijtmans
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to