[Top][All Lists]

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

Re: How to get difference beetwen revisions

From: Holger
Subject: Re: How to get difference beetwen revisions
Date: 21 Sep 2006 06:04:31 -0700
User-agent: G2/1.0

JBB wrote:
> I'd like to get the difference beetwen two revisions of a folder (know
> which files changes)
> And this without checking it out.
> I just want to export files that have changed.
> In Eclipse it'a easy to get differences between two revisions, but you
> can't then export only these files.
> So I decide to make a litlle python script that do it for me.
> Up to now I do a 'checkout', then a 'log' on each file, parse the log
> to see if the file changed beetwen my two revision, and then remove all
> inchanged files.  But this is very long because of the number of
> (inchanged) files and their size.
> I'm sure the cvs server could do some thing for me. Maybe whith the
> 'diff' command?

How about:
cd a_folder
cvs log -r revision1 -r revision2

cd a_folder
cvs -q diff -Nu -r revision1 -r revision2

I may not quite know what you mean by "export"



reply via email to

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