Re: Diffing directories with external diff

"kirillmueller" <[email protected]> Sat, 25 Feb 2006 16:54:27 -0000
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
By now, I've implemented a rudimentary version of this feature and 
will test it for some days before committing.

While doing the

cvs diff --brief

command, the diff-ed folders are written in orange (stderr) and the 
files where differences were noticed are written in black (stdout) to 
the console, so there is sort of a real-time preview for the files 
that are going to be downloaded.

The folder-wise diff is launchable from the commit dialog if a folder 
is selected for commitment.

The "Don't recurse" option is now valid iff a folder has been 
selected, for external and "normal" diff. Where would be the best 
place to put the checkbox?

As an improvement for the case "Diff against the same revision in the 
repository", the time stamp approach still has to be implemented. But 
the generic version that exists now also works, somewhat slower for 
local repositories and really slow for repos on the internet.

I like more and more Oliver's suggestion concerning a preview of 
files to be diffed. I even would make it a new kind of window (like 
the Graph window) instead of a dialog. One could keep several 
difference sets open and launch the external differ file by file or 
all files at once, at one's choice. I would use a simple TreeView 
that contains the folder hierarchy (starting with the folder that has 
been diffed) together with the different files. Double-clicking a 
file or folder would launch the differ.


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/