[RFC] Ask for confirmation if the commit message is a file name, v2

Gioele Barabucci gioele at svario.it
Fri Nov 13 21:41:47 GMT 2009


Gioele Barabucci wrote:
> Questions:
>   * With BzrCommandError I get "bzr: ERROR: Commit cancelled". This is not
> exactly an "error", the user cancelled the commit herself. What else
> should I use? Should I create a new exception?
>   * Could you suggest me how to test this? I had a look around the other
> tests and none care to check whether a get_boolean is issued. All I found
> was the use of CannedUIResponse to test get_boolean itself but I don't
> know how to combine that with bzr_run.

While I have not yet found an answer to my questions, I went ahead and 
pushed my branch to Launchpad so that it could be more easily reviewed: 

https://code.launchpad.net/~gioele/bzr/forgot-commit-message/

-- 
Gioele Barabucci <gioele at svario.it>




More information about the bazaar mailing list