[Ml-yokadi] Changing behavior of t_add, t_edit, bug_add and bug_edit
Aurélien Gâteau
aurelien.gateau at free.fr
Mon Jun 15 18:19:34 CEST 2009
Hi,
As discussed a few days ago, I changed the behavior of t_add, t_edit,
bug_add and bug_edit so that answering 'n' to the question 'Project foo
does not exist, create it?' command line would be filled with the
command you entered.
The only thing I did not anticipate was that when using t_edit you do
not want to go back to the command you entered. That is, if you do this:
yokadi> t_edit 8
foo: bla bla
Project 'foo' does not exist, create it (y/n)? n
You do not want to go back to "t_edit 8", you want to edit "foo: bla
bla" again.
To this end, I changed the behavior of t_edit, bug_edit so that it will
loop continuously until you either:
- Enter an edit you are happy with
- Press Ctrl+C
I hope you like it.
Aurélien
More information about the Ml-yokadi
mailing list