Hi,

we are considering to switch from svn to darcs, but there is an issue
with line endings. I might be not aware of a trivial solution, so
please let me know if there is one.

I know that there are pre-hooks and post-hooks, which can be used to
translate line endings, so that the repository always contains '\n',
while the working copy of windows users will have '\r\n'. The problem
is that there is no standard way of doing this on windows.

Of course, one could require users to install dos2unix and unix2dos or
something similar, but that seems to me ridiculous. On the other hand
we could patch the darcs sources, but that would require users to
download non-standard versions and we would be in the version hell.
None of these are acceptable.

svn handles the line endings pretty well compared to what darcs can
offer. I think darcs should also be able to handle this issue on its
own without requiring to install anything else.

Any idea?

levy

-- 
There's no perfectoin
_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to