Ah okay, so this is a bug in the new rbssh script. We'll need to implement -l.
It actually should be an easy fix. In reviewboard/cmdline/rbssh.py, we do argument checking and would need a new add_open line for -l that stores the value (dest='username'). We'd then need to access that (options.username) before the call to client.connect. So, something like: parser.add_option('-l', dest='username', metavar='USERNAME', default=None, help='The username to connect with') ... username, hostname = SCMTool.get_auth_from_uri(path, None) username = options.username or username client = sshutils.get_ssh_client() ... I *think* that will work. If you want to give it a try, let me know how it goes, and if it works, put a patch up on Review Board and we'll get it in for a 1.5.3. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Jan 27, 2011 at 10:30 AM, praveen kumar <kodaliprav...@gmail.com>wrote: > Hi Christian, > > After adding multiple debug statements as you have shown above, found > this in the "errmsg" of _cat_specific_file function. > > 2011-01-27 12:29:20,837 - DEBUG - /usr/lib/python2.4/site-packages/ > pycrypto-2.3-py2.4-linux-x86_64.egg/Crypto/Util/randpool.py:40: > RandomPool_DeprecationWarning: This application uses RandomPool, which > is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken > usage: rbssh [options] [user@]hostname command > > rbssh: error: no such option: -l > cvs [checkout aborted]: end of file from server (consult above > messages if any) > > > [root@vm-jc-test1 system-test]# rbssh -h > /usr/lib/python2.4/site-packages/pycrypto-2.3-py2.4-linux-x86_64.egg/ > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This > application uses RandomPool, which is BROKEN in older releases. See > http://www.pycrypto.org/randpool-broken > usage: rbssh [options] [user@]hostname command > > options: > --version show program's version number and exit > -h, --help show this help message and exit > -p PORT, --port=PORT the port to connect to > -q, --quiet suppress any unnecessary output > > Just to reiterate, cvs command from CLI is working fine. > Please let me know how we can debug this issue further. > > Thanks > Praveen > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~----------~----~----~----~------~----~------~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en