info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS and OLE Automation


From: Francis Irving
Subject: Re: CVS and OLE Automation
Date: Wed, 14 Feb 2001 10:11:11 +0000

On Tue, 13 Feb 2001 22:44:27 -0000, address@hidden wrote:

>Hi, I am new to this so bear with me. ; )
>I am trying to write VB code that at one point has to update files 
>from a CVS repository.
>I guess I could just use the shell command:
>shell ( cvs update ... > file )
>
>The redirect is so that I can keep track of which files are updated, 
>but I was wondering if that through OLE Automation if any objects 
>were accessibly in CVS or if at least some functions were available 
>through a dll.
>Any help or guidance would be greatly appreciated! Thanks.
>
>Edwin Kim

It probably isn't sophisticated enough, but TortoiseCVS
(http://www.wincvs.org/TortoiseCVS) effectively creates new Explorer
verbs for performing CVS operations.

You could use automation on Explorer (possibly the file system object)
to execute them.

However, they wouldn't give you any better programmatic information
than just calling the command line CVS.  They do pop up a progress
GUI. If you're writing an app that users will see rather than a script
that runs in the background, you may prefer it.

There is also a dll cvs2ntlib.dll which comes with WinCVS and
TortoiseCVS.  You could directly call this.  It wouldn't buy you much,
but it does let you set callbacks for displaying output so you can
display it in whatever way you like.

There is no programmatic interface to CVS richer than just a text
stream.

Francis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]