REMINDER: Final review of VCS interfaces

Matthew Woehlke mw_triad at users.sourceforge.net
Wed May 23 21:17:25 UTC 2007


Andreas Pakulat wrote:
> On 23.05.07 14:01:05, Matthew Woehlke wrote:
>> Andreas Pakulat wrote:
>>> On 23.05.07 12:06:25, Matthew Woehlke wrote:
>>>> Andreas Pakulat wrote:
>>>>> On 23.05.07 04:06:12, dukju ahn wrote:
>>> Also CVS does this only on local files too, I'm tempted to but it into
>>> IBasicVC and take it local files only (remote stuff can be done in
>>> IFooVcs), unless somebody knows a VCS that doesn't have annotate
>>> (eclipse has this too in its classes, IIRC, which suggests that quite a
>>> bunch have this feature).
>> Sounds OK to me. Want me to write it?
> 
> That would be wonderful, I doubt I have the time today or tomorrow.

Ok.

>>> About return value: cvs and svn can return revision, date and author,
>>> does that fit into one of the classes used for change/log?
>> If you mean for change()/log(), these return VcsEvent, which has user, 
>> date, revision and revision-per-file (also other stuff like message). Or 
>> did you mean for annotate()?
> 
> Nevermind, I think we need a separate class for that, which encapsulates
> the lines of a file and lets the user fetch date,author and revision for
> each line.

Yes, that was my thought as well. Alas, according to 
http://www.perforce.com/perforce/doc.052/manuals/cmdref/annotate.html, 
perforce only tells you the global revision for each line, I guess we 
could leave the other stuff blank, or we could lump in a call to log() 
to correlate the data. (I can't tell you more than that because we have 
an old server :-(.)

>>> Oh and a last one: does perforce support specifying a revision? CVS, svn
>>> and git support that, clearcase seems to not support it (at least
>>> there's no option for that). Does it make sense that the plugin ignores
>>> the revision if it the system doesn't support that? Or is that too much
>>> magic behind the scenes?

I think we could doc it that was, especially if needed for clearcase. 
Again according to the previous link perforce takes a revision.

-- 
Matthew
"I can hear you / just barely hear you / I can just barely hear you"
   -- "I Can Hear You", by They Might Be Giants





More information about the KDevelop-devel mailing list