RE: Diffing directories with external diff
"Oliver Giesen" <[email protected]> Thu, 23 Feb 2006 10:20:07 +0100
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
> I'd love to see the this feature in WinCvs and will try to > implement it. This is how it's supposed to work: > > - Launch a "cvs diff --brief [-rxxx [-ryyy]]" command as appropriate, > to let the server find out which files have changed > - Parse the output (read lines beginning with "Index:", a simple > getline parser will be fine here) > - Treat the changed files as if they (and not the directory) were > selected in the file view > - Diff 'em one by one Sounds like you are using a Diff application that would open all diffs in the same instance, correct? Personally, I would hate to have this function clutter my Task Bar with tons of WinMerge instances. Then again, most Diff apps are already capable of doing directory diffs all by themselves. Why not simply checkout a temporary copy of the directory in question (as could be read from ./CVS/Repository) and pass that temp path as a parameter to the Differ? When diffing against something other than the local copy, create two temp checkouts. That's basically the same as what we're already doing for single-file diffs. Obviously this approach gets tricky(/infeasible) when virtual modules or some other variation of modules being checked out inside of other modules are involved... Cheers, Oliver ---- ------------------ MSN: [email protected] ICQ: 18777742 (http://wwp.icq.com/18777742) Y!: ogiesen 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/