Is diff -DU functionality available in SOS?

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
pravin

Is diff -DU functionality available in SOS?

Post by pravin » Fri Mar 11, 2005 4:24 am

With the help of diff command with option -DU in VSS, we can get the modified files contents in unix format
How I can do it using SOS?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri Mar 11, 2005 9:12 am

You can set SOS to use Unix EOL for files. This setting is in the SOS GUI client under Tools->Options->Files.
Linda Bauer
SourceGear
Technical Support Manager

pravin

Post by pravin » Mon Mar 14, 2005 3:23 am

Hi Linda

I think my requirement is not clear to you
Sorry for not providing enough details on my query

In vss, using command line options I can findout the modified files difference contents in unix form

for example if I say
> ss diff "$/Folder/File1.cpp" -DU -YX,X > DiffContents.txt

This statement compares the current VSS version vs local file &
provides modification details in DiffContents.txt is as given below

Diffing:
$/Folder/File1.cpp
Against: D:\Folder\File1.cpp

7d6
< #include "cdRef.h"
9,11c8,15
< #include "labFunctions.h"
< #include "UtilityFunc.h"
< #include "UtilityFunctions.h"
---
> //#include "labFunctions.h"
> //#include "labFunctions.hpp"
> //#include "UtilityFunc.h"
> //#include "UtilityFunc.h"
> //#include "UtilityFunctions.h"
> #include "labFunctions.hpp"
> #include "UtilityFunc.hpp"
> #include "UtilityFunctions.hpp"
12a17,22
> sdfdsfdsfsd
> fdasfdf
> fdfdf
> fsdfsdaf
> fsdfasdf
> sdfasdfasdf
13a24
> //file is modified


Similar functionality I am expecting using SOS,
So can you let me know, which version of SOS I need to install to get similar functionality

Regards
Pravin

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Mar 14, 2005 4:47 pm

Sorry, this functionality is not available in the SOS Command Line Client.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply