On Thu, 1 Jun 2000, Noel L Yap wrote:

> cvs-1.10.8 has "cvs up -C" that'll give you a clean copy of the file.

Anyone working to update WinCVS to 1.10.8? I'm OK with the command line,
it's just that my coworkers are not...

> Otherwise, you can do something like:
> cvs -n up | grep '^M' | awk '{ print $2 }' | while read f
> do
>      rm $f
>      cvs up $f
> done

:))) I think they will laugh in my face :)

> You might want to specify the local version to update, though by using
> something like:
>
> cvs up -p -r base-rev $f >$f
> 
> where base-rev is the version you have checked out.  
> You can get the base-rev by
> parsing the output of "cvs stat $f".

What would be the point? It is a lot more complicated than just deleting
the files and getting it again, so...

Thanks,
Dimi.

Reply via email to