info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recursive Comparision of files in working directory with repository


From: Frederic Brehm
Subject: Re: Recursive Comparision of files in working directory with repository
Date: Tue, 03 Jan 2006 09:41:57 -0500
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

What's wrong with

   cd /home/trainee/work/nwpi
   cvs diff -u -r 1.1



ferozahmed wrote:
Hi All

i have written a script to take the difference between working directory and 
it's corresponding directory in the repository
i have to take the difference of each file in the directory with it's 
corresponding file in the repository and i have written the following the 
following script

i am not able to find out the difference as the if condition in the script gets failed beacause the files in the repository are appended with v so any solution for this and i want to store the difference of the each file into a separate file excluding the garbage value
any solution

Repo=/usr/local/repository/repository/nwpi
work=/home/trainee/work/nwpi

for i in `ls /usr/local/repository/repository/nwpi
{
for j in `ls /home/trainee/work/nwpi
{
if [ $i -eq $j ]  -->
then
cvs diff -u -r1.1 /home/trainee/work/nwpi
else
true
}
}

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



_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs



--
Frederic W. Brehm
Senior Member of the Technical staff
Sarnoff Corporation




reply via email to

[Prev in Thread] Current Thread [Next in Thread]