wishlist: remember last commit message

Bug #149743 reported by Alexander Belchenko
6
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Wishlist
Lukáš Lalinský

Bug Description

If commit was unsuccessful due different reason (bound branch out of date, sftp connection is broken during commit, etc.) it's naturally that user will try next time commit the same files with the same message. Right now qcommit does not provide ability to easy recovery last message. IMO qcommit could save each last commit message in ~/.bazaar when user clicks OK, and then allows to resurrect it with context menu (right-click menu).

BTW, TortoiseCVS provide such option by default for all commits, it has drop-down combolist with 10 latest commit messages, so one could easily select one message and copy it to commit message text area.

Tags: qcommit
Changed in qbzr:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Lukáš Lalinský (luks) wrote :

I'm not sure if saving all recent messages is useful, but it should definitely save the last message on 'Cancel' and load it in another qcommit. The question is where to save if, because this probably should be per-branch, not global.

Revision history for this message
Alexander Belchenko (bialix) wrote :

I don't see any problem to save it in branch.conf as qbzr_log variable. Used in bzrlib ConfigObj is supported multi-line strings, maybe some escaping of special characters will be needed. But yes, qcommit should save log message when user press Cancel, or some error during normal commit is occured.

Lukáš Lalinský (luks)
Changed in qbzr:
assignee: nobody → luks
milestone: none → 0.8.0
status: Confirmed → Fix Committed
Lukáš Lalinský (luks)
Changed in qbzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.