[VCSIface] Difference between VcsEvent and VcsItemEvent

Matthew Woehlke mw_triad at users.sourceforge.net
Mon May 7 23:35:51 UTC 2007


Andreas Pakulat wrote:
> Hmm, ok. So log() returns a quite small list of changes and to get more
> verbose information one can use change(). Which I think resembles GUI's
> that exist (at least for svn), where you also see a list of revisions
> with author and message and when you double-click them you can see stuff
> like files that where changed and how and possibly create a diff to the
> previous version.

I think you meant s/changes/information/, otherwise yes :-). (I could 
say some things about the inefficiency of double clicking, but we aren't 
designing a GUI here so it's irrelevant. ;-))

> [anip] Although I'd like to have another look at
> the 3 helper classes to make it easier to recognize what each does by
> looking at them. (without having to read the full dox).
> 
> But that has to wait til tomorrow.

Ok. As mentioned, simplest would be to drop VcsEvent and have log() 
return VcsChange with only one file. Otherwise, the overview is: 
"VcsItemEvent is the info about one item in a change and the only 
effective difference between VcsEvent and VcsChange is that VcsChange 
might know about more than one item."

-- 
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.
init: What truth?
child: There is no .sig.





More information about the KDevelop-devel mailing list