REMINDER: Final review of VCS interfaces

Andreas Pakulat apaku at gmx.de
Wed May 23 21:48:50 UTC 2007


On 23.05.07 16:17:25, Matthew Woehlke wrote:
> >>> 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 :-(.)

Hmm, so that can be an implementation detail I guess.

> >>> 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.

Agreed, we provide the revision argument but the implementation may
ignore it.

Andreas

-- 
Don't read any sky-writing for the next two weeks.




More information about the KDevelop-devel mailing list