Re: Diffing directories with external diff

"kirillmueller" <[email protected]> Mon, 27 Feb 2006 09:49:02 -0000
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
--- In [email protected], "Oliver Giesen" <ogware@...> wrote:
>
> > - Copy the files in question to a temp folder (keeping the folder 
> > hierarchy and with the CVS sandbox files)
> > - Issue a cvs update -r... [-r...] for the temp location and only 
for 
> > those files
> > 
> > The "update" approach won't work if we want to avoid copying all 
> > sandbox files to the temp folder _and_ use one cvs diff pass 
only. 
> 
> You mean because the update would get the remaining files? FWIW, 
that could be avoided by placing a file named Entries.Static 
(contents do not matter - could be empty) in the CVS folders of that 
temp sandbox. No new files will be retrieved then. CVS itself creates 
this file when you checkout individual files instead of 
modules/directories.

No, we wouldn't know what to copy to the temp sandbox in the first 
place. To gain this knowledge, a cvs diff --brief command is 
necessary. And if we do the cvs diff --brief, the overhead to do it 
without --brief and to apply the patch by ourselves is less than 
issuing another cvs update/checkout/whatever command.


Cheers,

Kirill






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/