[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to avoid Garbage Value in the difference of the file
From: |
ferozahmed |
Subject: |
How to avoid Garbage Value in the difference of the file |
Date: |
Thu, 5 Jan 2006 03:39:15 -0500 |
Hi All
My requirement is to fine the difference between two versions of the file and
checkin the difference into the repository when i tried to execu the following
command
cvs diff -r1.1 -r1.4 text1
i am getting output as follows
Index: text1
===================================================================
RCS file: /usr/local/repository/repository/text1,v
retrieving revision 1.1
retrieving revision 1.4
diff -r1.1 -r1.4
1,3c1,26
< in asdfjkl;lf
< sfjsdfj j p
< it's io am here ewe fi go
---
> Index: /home/trainee/work/repository/text1
> ===================================================================
> RCS file: /usr/local/repository/repository/text1,v
> retrieving revision 1.3
> retrieving revision 1.1
> diff -u -r1.3 -r1.1
> --- /home/trainee/work/repository/text1 2 Jan 2006 05:29:54 -0000
> 1.3
> +++ /home/trainee/work/repository/text1 30 Dec 2005 07:21:06 -0000
> 1.1
> @@ -1,14 +1,3 @@
> -Index: text1
> -===================================================================
> -RCS file: /usr/local/repository/repository/text1,v
> -retrieving revision 1.2
> -retrieving revision 1.1
> -diff -u -r1.2 -r1.1
> ---- text1 2 Jan 2006 05:25:38 -0000 1.2
> -+++ text1 30 Dec 2005 07:21:06 -0000 1.1
> -@@ -1,5 +1,3 @@
> - in asdfjkl;lf
> - sfjsdfj j p
> - it's io am here ewe fi go
> --adding new lines to the files
> --of the text1
> +in asdfjkl;lf
> +sfjsdfj j p
> +it's io am here ewe fi go
this output contains the difference aswell the garbage value like
retriving revision information where as i am interested to just checkin the
difference of the file any solutions
Thanks & Regards
Feroz Ahmed
Member, IVV Group
#2989/1B, 12th Main
80 Feet Road, Indiranagar
BANGALORE - 560008 INDIA
Ph : +91-80-51267681/82
E-mail : address@hidden
www.oaksys.net
________________________________________________________________
Sent via the WebMail system at oaksys.net
- How to avoid Garbage Value in the difference of the file,
ferozahmed <=