L=F6rdagen den 1 juli 2006 kl 04.39 skrev Andreas Kupries:
>
> On unixoid platforms the main CVs client is 'cvs', easily executable =20=
> from the
> command line.
>
> What other clients or used on platforms like Windows, OSX, etc. ?
For most people on OSX who use CVS, I believe it too qualifies as a =20
unixoid platform, so the command-line 'cvs' is most likely the main one =20=
here too.
Nonetheless, there are other clients. The one I've used the most is =20
actually "MacCVS Pro" (http://www.maccvs.org/) as it has long been the =20=
default choice (see =20
http://alphatcl.sourceforge.net/wiki/pmwiki.php/CVS/=20
CvsUpdatesAlpha8XMacos) within the AlphaTcl project. I think there has =20=
been a shift towards using command-line cvs even there, however, =20
because MacCVS Pro sometimes had a nasty habit of creating (if memory =20=
serves) stale locks on files in the repository, for reasons noone has =20=
been quite able to track down. OTOH, there is at least one useful =20
feature in MacCVS Pro which I think is missing from the command-line =20
cvs, namely the ability to reencode files when checking them in or out.
> Are any of these clients callable from the command line as well ?
Well, they are certainly startable from the command line (although you =20=
may have to first locate the actual executable buried inside the =20
application bundle), but whether you can also usefully tell them to do =20=
anything that way is another matter. And even if you could, it's =20
probably not a good idea to run a CVS application the way one would run =20=
a CVS command-line tool, as applications tend to take a lot longer to =20=
start up.
But why should one restrict oneself to the command-line interface, when =20=
Tcl knows so many other forms of interprocess communication? In
http://alphatcl.cvs.sourceforge.net/alphatcl/Tcl/Packages/=20
vcCvs.tcl?revision=3D1.37&view=3Dmarkup
you may find the AlphaTcl code implementing interaction with various =20
CVS clients (older versions of this file may be a bit easier to analyse =20=
though, as the current one makes heavy use of xserv). Interaction with =20=
MacCVS and MacCVS Pro is based on communication using TclAE.
Lars Hellstr=F6m=
|