[MERGE] Prompt for user names if they are not in the configuration.

Jelmer Vernooij jelmer at vernstok.nl
Fri Apr 3 18:52:44 BST 2009


Jelmer Vernooij wrote:
> The attached patch makes bzr prompt for user names when it needs to 
> authenticate but there is no username known, similar to what's already done 
> for passwords.
>   
Updated patch with changes requested by Vincent: get_user() now defaults
to returning getpass.getuser(), to match current behaviour unless
explicitly requested (as is done for http) in which case it will prompt
the user.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: username.diff
Type: text/x-patch
Size: 23515 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090403/95a741ed/attachment-0001.bin 


More information about the bazaar mailing list