2008/11/7 Nicholas Allen <span dir="ltr"><<a href="mailto:nick.allen@onlinehome.de">nick.allen@onlinehome.de</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have a bound branch to a remote location that is password protected.<br>
When I run bzr commit command the password is asked for immediately.<br>
Even before I am asked for commit message. This only started happenning<br>
in 1.9 after I upgraded bzr on Ubuntu 8.10.<br>
<br>
This means I am now asked for the password twice. Once before entering<br>
the commit message and once after entering it and before the data is<br>
sent of the network.</blockquote><div><br>I was not able to reproduce it asking for the password twice, using bzr.dev<br>and and the commandline commit. Are you experiencing this using a GUI,<br>or a pluggin changing commit behaviour?<br>
</div></div><br><br>It does ask for the password before asking for the message now.<br>MutableTree.commit determines the nick to be stored as part of the revision properties<br>and passes it to Commit.commit which does a callback to determine the message.<br>
<br>Maybe it would be possible to read the nick after obtaining the message and <br>pass it to CommitBuilder.commit<br>I'm not sure if some GUI's or plugins rely on it being available earlier to perhaps show it to the user while obtaining the message. So maybe only populating it later would be an API break.<br>
<br>regards<br>marius<br><br>