info-cvs
[Top][All Lists]
Advanced

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

Re: cvs release needs to connect 3 times to the server


From: Derek Robert Price
Subject: Re: cvs release needs to connect 3 times to the server
Date: Mon, 19 Apr 2004 11:06:36 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Spiro Trikaliotis wrote:

>Hello Mark,
>
>thanks for your answer and sorry for the off-list answer from me, I
>pressed the wrong key. :-(
>
>I resend my answer to your answer to the mailing list for full referral
>through the mailing list archive.
>
>* On Sun, Apr 18, 2004 at 11:19:00PM -0700 Mark D. Baushke wrote:
>
>>You should get three prompts, but only two of them would be for your
>>passphrase. The final prompt should be
>>
>>"Are you sure you want to release directory `...path-to-delete...':
>>yes"
>
>
>No. In fact, I first get the two prompts, and then, after the "Are you
>sure", I get another prompt:
>
>[...snipp...]
>$ cvs release vice
>address@hidden's password:
>address@hidden's password:
>cvs server: src/arch/os2/Snippets/Makefile.am is no longer in the
repository
>cvs server: src/arch/os2/Snippets/Makefile.in is no longer in the
repository
>[...]
>You have [0] altered files in this repository.
>Are you sure you want to release (and delete) directory `vice': yes
>address@hidden's password:
>cvs release: no such directory: vice
>[...snapp...]
>
>>The first one does a 'cvs -n -q update' on the repository to see if
>>there are any changes in your tree before it releases it for you.
>>
>>The second actually does the release for you if you answer 'yes' to
>>the release prompt.
>
>
>Isn't it possible to make all actions with just one ssh invocation?


Well, it should be, the connection to the CVS server is supposed to be
re-entrant, though there is only one client out there that test this
that I know of, but the CVS release command isn't currently
implemented this way.   IIRC, CVS release actually execs a second CVS
executable and parses its output to determine if any files have changed.

You are welcome to rewrite it and submit a patch to address@hidden
There are instructions for doing so in the HACKING file.  We love to
see patches!

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAg+r7LD1OTBfyMaQRAoLVAJ4mOqoPbKwHioYFWB9riy013BSgRQCg8kVd
w6rjhdmZQVT8zM7rMflPiSE=
=UgnZ
-----END PGP SIGNATURE-----





reply via email to

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