You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Olivier Dehon <od...@gmail.com> on 2010/10/26 06:03:14 UTC

Bug during release prepare

Hi,

On continuum 1.3.1, when preparing a release, if the user mistypes their
subversion password and adds a backslash at the end, then the release
prepare phase gets stuck in the “update-working-copy” (the first) step.
This is because the svn command issued by continuum is:

svn --username xxxxx --password abcdef\ --non-interactive ...

which means that the space between the password and the space before the
--non-interactive option is escaped, which in turn means that this
option is not seen at all, and since the password is incorrect, it goes
ahead and tries to prompt the user for their correct password in the
command line, so the process hangs (found that by running a:
 ps -edf | grep svn
on the server).

-Olivier


Re: Bug during release prepare

Posted by Olivier Dehon <od...@gmail.com>.
Created http://jira.codehaus.org/browse/CONTINUUM-2577

Thanks,
-Olivier

On Tue, 2010-10-26 at 17:18 +1100, Brett Porter wrote:
> Good catch. If it's not there already, can you file this in JIRA?
> 
> Thanks,
> Brett
> 
> On 26/10/2010, at 3:03 PM, Olivier Dehon wrote:
> 
> > Hi,
> > 
> > On continuum 1.3.1, when preparing a release, if the user mistypes their
> > subversion password and adds a backslash at the end, then the release
> > prepare phase gets stuck in the “update-working-copy” (the first) step.
> > This is because the svn command issued by continuum is:
> > 
> > svn --username xxxxx --password abcdef\ --non-interactive ...
> > 
> > which means that the space between the password and the space before the
> > --non-interactive option is escaped, which in turn means that this
> > option is not seen at all, and since the password is incorrect, it goes
> > ahead and tries to prompt the user for their correct password in the
> > command line, so the process hangs (found that by running a:
> > ps -edf | grep svn
> > on the server).
> > 
> > -Olivier
> > 
> 
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> 
> 
> 
> 



Re: Bug during release prepare

Posted by Brett Porter <br...@apache.org>.
Good catch. If it's not there already, can you file this in JIRA?

Thanks,
Brett

On 26/10/2010, at 3:03 PM, Olivier Dehon wrote:

> Hi,
> 
> On continuum 1.3.1, when preparing a release, if the user mistypes their
> subversion password and adds a backslash at the end, then the release
> prepare phase gets stuck in the “update-working-copy” (the first) step.
> This is because the svn command issued by continuum is:
> 
> svn --username xxxxx --password abcdef\ --non-interactive ...
> 
> which means that the space between the password and the space before the
> --non-interactive option is escaped, which in turn means that this
> option is not seen at all, and since the password is incorrect, it goes
> ahead and tries to prompt the user for their correct password in the
> command line, so the process hangs (found that by running a:
> ps -edf | grep svn
> on the server).
> 
> -Olivier
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/