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?
Is diff -DU functionality available in SOS?
Moderator: SourceGear
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
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