[VCS] Merging IAtomic* into IBasic*

Robert Gruber R.Gruber at gmx.net
Thu May 10 07:22:28 UTC 2007


-------- Original-Nachricht --------
Datum: Wed, 9 May 2007 19:02:57 +0200
Von: Andreas Pakulat <apaku at gmx.de>

> On 09.05.07 10:26:01, Matthew Woehlke wrote:
> > Andreas Pakulat wrote:
> > > had another look at IAtomic* and I think this is too small for an
> > > interface. A VCS that can't tell you the changes for a given revision
> is
> > > broken - IMHO, so that can go into IBasic.
> > 
> > AFAIK CVS is exactly such a VCS, which is why I made the separation in 
> > the first place. (I don't know CVS myself, but I was talking with 
> > someone that does, who - if we understood each other correctly - 
> > indicated that CVS cannot support the interfaces in IAtomicBrowsableVC.)
> 
> Hmm, I see cvs history here which looks somewhat like whats needed for
> change().
> 
> Lets see if Robert can tell us something (or somebody else with CVS
> knowledge).

I've been pretty busy at work these days, so I have to admit 
that I wasn't able to follow the whole VCS discussion from 
the very beginning.

I've to agree which Matthew. 
Implementing IAtomicBrowsableVersionControl does not 
really make much sens for CVS. Unlike in SVN a revision 
is not unique, so you can't find any changes with only 
a revision. You always need a file and a revision. If I 
understand correctly, repositoryRevision() is nothing else 
than calling "cvs status" on the given file. It will give 
the repository revision, which will (if the file's up-to-date) 
be the same as the lokal revision.


"cvs history" is a very strange command. I never used it, 
because I could find no real benefit from it.
What I know about this command is this: It gives you any
changes that have been made on the cvs server. Not only 
for your checked out directory or file, but for any file 
that is stored anywhere on the server. There 
are a lot of options to limit and filter the output, but 
you still always get output for changes which were not made
in the directory you've checked out. 


Greets, Robert

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail




More information about the KDevelop-devel mailing list