« Return to Thread: Issues retaining a DOS' file encoding when committing it into a UNIX repository

Re: Issues retaining a DOS' file encoding when committing it into a UNIX repository

by Mike Ralphson :: Rate this Message:

Reply to Author | View in Thread

2009/3/23 syntevo Support <smartcvs@...>:

>> When I commit DOS files
>> into the repository I see that the ,v files gets saved in UNIX format.
>> So in short, what do I need to do to ensure that DOS text files get
>> committed into a UNIX repository from a UNIX client in its original
>> DOS format, and that when I retrieve it on a UNIX OS, its DOS
>>format is preserved?
>
> You only can define what line separator to use for your whole project
> (Project|Settings, Text File Options). You can't define that on a per-file
> base using CVS. If you need that, then you should use (Smart)SVN or set the
> correct line separators locally using a script.

Or, um, commit them in binary mode?

Mike


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/smartcvs/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/smartcvs/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:smartcvs-digest@...
    mailto:smartcvs-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    smartcvs-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

 « Return to Thread: Issues retaining a DOS' file encoding when committing it into a UNIX repository