Hi Hector,
> When I commit DOS files
> into the repository I see that the ,v files gets saved in UNIX format.
You should not worry about how file content is stored in the ,v files, because
this is CVS server internal. SmartCVS always converts the line separators to
the correct line separator for the repository (\n), just like any other
correctly working CVS client.
> 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.
--
Best regards,
Thomas Singer
_____________
syntevo GmbH
http://www.syntevo.com"hectorub" <
hurdaneta@...> wrote:
> Hi,
>
> I'm having trouble committing DOS text files into a UNIX repository. By UNIX
> repository I mean one that is stored on a UNIX box. When I commit DOS files
> into the repository I see that the ,v files gets saved in UNIX format. I'm
> running the smartCVS (professional) client from a Linux machine.
>
> My working copy of the repository contains a mix of DOS and UNIX files. Not
> knowingly, I originally committed all files into the repository with the Text
> File Encoding in the Repository in ASCII mode. I later on changed the setting
> to Unicode (UTF-8). Removed the DOS files from the repository and tried
> committing them once again to the repository. When I look at the ,v file in
> the repository I still see that the files are stored in the 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?
>
> Thanks in advance for any help
> Hector Urdaneta
> Linear Technology Corporation
------------------------------------
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/