[cvsnt] Re: Annotate Commands?

Tony Hoyle tmh at nodomain.org
Tue May 18 13:29:52 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Tue, 18 May 2004 12:13:58 +0100, Jay <j.javed at sherara.com> wrote:


>Now, the command being issued to cvs.exe is as follows:
>
>Root /

Firstly, a root as '/' is known to be problematic, due to the design
of CVS.  It might work for simple uses though.

>Valid-responses ok error Valid-requests Checked-in Updated Merged 
>Removed M E
>UseUnchanged
>Argument -r
>Argument 1.1
>Argument Cinema/Browser.php,v

Don't send the ,v here.   That's an implementation detail that's never
passed over the protocol.

>Directory Cinema
>C:/CVS/Repository/Cinema/
>Directory .
>C:/CVS/Repository/
>annotate

Also, why do you have two 'Directory' commands?  the first one isn't
doing anyting.  Get rid of the first one.

If you have a prefix of C:/CVS/Repository then you should never pass
that as part of the protocol.  Use / instead.

Also, you're not sending the file information - annotate uses the
sandbox and needs the entry lines for the current directory.

If all you want to do is annotate a specific file in the repository
just use the remote annotate (rannotate):

Valid-responses ok error Valid-requests Checked-in Updated Merged
Removed M E
valid-requests
Root /
Argument Cinema/Browser.php
rannotate

Tony




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook