You might want to investigate writing up a patch whereby the subversion prompt behaves similarly to the sudo prompt. Capistrano currently detects when a bad sudo password is entered, catches the "try again" message, and allows the password to be reentered. I wouldn't mind a patch that made things work similarly for the the subversion password prompt.

- Jamis

On Oct 15, 2007, at 12:25 PM, goodieboy wrote:


OK bummer. The solution I'm using now is a little weak, but works for
me and this application. I execute a task and immediately go to an
ajax based polling screen. The log content is inspected for and  if
something is found, the server kills the process and then returns the
correct error message. Currently, I only have to worry about someone
typing in the wrong password so this is OK. But it would be nice to
find a way to handle anything.

Matt

On Oct 15, 2:17 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
To my knowledge, no. :( If anyone knows of a way to do it, I'd be
very interested, since it would allow me to make Capistrano's prompt
detection code much more robust.

- Jamis

On Oct 15, 2007, at 11:50 AM, goodieboy wrote:



Hi,
I'm using Capistrano through Rails. There is a problem where if a user
types in the wrong password for SVN, Capistrano hangs waiting for
input. Is there a way for me to detect a STDIN request like that and
handle it appropriately?

Thanks.
Matt




 smime.p7s
3KDownload


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to