SOS command line changes DOS to UNIX end of line
Moderator: SourceGear
-
- Posts: 2
- Joined: Fri May 22, 2009 9:10 am
SOS command line changes DOS to UNIX end of line
Hi, I am trying to use the SOS command line client interface (version 4.0 according to the soscmd.txt file) to retrieve files in an automated build process. When I issue the getfiles command, it is successful, but all files retrieved are slightly different than if they are retrieved from the GUI client (which interestingly reports version 4.1). The end of line sequence in the file is changed from a CR/LF to just a LF sequence (looks possibly like one tool is DOS native, the other UNIX native?). Is there a solution or workaround to insure the files are the same no matter whether the command line or GUI tool is used to retrieve the files? Thank you.
Re: SOS command line changes DOS to UNIX end of line
You should be able to specify the end of line used. Try adding add -eol "windows" to the command.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 2
- Joined: Fri May 22, 2009 9:10 am
Re: SOS command line changes DOS to UNIX end of line
Thanks, this worked great.
Re: SOS command line changes DOS to UNIX end of line
Thanks for the update.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support