Mercurial > hg > easyhg
changeset 319:1aba0914dcfc filelist_right_button_menu
Add comment listing which menu functions are desired where
author | Chris Cannam |
---|---|
date | Wed, 02 Mar 2011 13:25:49 +0000 |
parents | 124a3ea9fafb |
children | adb14d3f780f |
files | filestatuswidget.cpp |
diffstat | 1 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/filestatuswidget.cpp Wed Mar 02 12:38:17 2011 +0000 +++ b/filestatuswidget.cpp Wed Mar 02 13:25:49 2011 +0000 @@ -173,6 +173,34 @@ } } + + +//!!! So, we want a right-button menu on each list view. With which options? +// +// Modified -- commit, revert, remove, diff, annotate +// Added -- commit, revert, remove +// Removed -- commit, revert, add +// InConflict -- merge, mark resolved (can't do revert for a single file during merge? or can we?), annotate? +// Missing -- remove, restore +// Unknown -- add, ignore (!) +// Clean -- remove, annotate +// Ignored -- un-ignore? but how?, edit .hgignore +// +// or by function: +// +// commit -- Modified, Added, Removed +// revert -- Modified, Added, Removed, InConflict, Missing (but call it restore?) +// diff -- Modified +// remove -- Clean, Modified, Missing, Added +// add -- Unknown, Removed +// merge (redo) -- InConflict +// mark resolved -- InConflict +// annotate -- Clean, Modified, Added?, Removed?, Missing? +// ignore -- Unknown +// un-ignore (?), edit hgignore -- Ignored + + + void FileStatusWidget::itemSelectionChanged() { DEBUG << "FileStatusWidget::itemSelectionChanged" << endl;