monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 6696a1ac3451f5a790858b51bb49ef31c3f16d


From: monotone
Subject: [Monotone-commits-diffs] Revision 6696a1ac3451f5a790858b51bb49ef31c3f16d79
Date: Thu, 21 Feb 2008 19:05:35 +0100

-----------------------------------------------------------------
Revision: 6696a1ac3451f5a790858b51bb49ef31c3f16d79
Ancestor: f270b674e119e16f2536d3419920e81e00582d39
Author: address@hidden
Date: 2008-02-20T15:17:06
Branch: net.venge.monotone.guitone

Modified files:
        src/model/GetRevision.cpp src/model/GetRevision.h
        src/monotone/WorkspaceCommitter.cpp
        src/monotone/WorkspaceCommitter.h src/view/InventoryView.cpp
        src/view/InventoryView.h src/view/WorkspaceWindow.cpp
        src/view/dialogs/CommitRevision.cpp
        src/view/dialogs/CommitRevision.h
        src/view/dialogs/WorkspaceDialogManager.cpp
        src/view/dialogs/WorkspaceDialogManager.h

ChangeLog: 

* GetRevision.h/cpp (readWorkspaceRevision): now takes a QStringList as 
additional argument which is used to restrict get_current_revision; 
(getRevisionText, getChangedFiles) new methods to support WorkspaceCommitter
* WorkspaceCommitter.h/cpp: now uses GetRevision model to retrieve the selected 
revision data; skipped revision validity check (get_current_revision_id cannot 
be restricted like get_current_revision, so the resulting revision IDs are 
always different if a restricted revision gets committed)
* InventoryView.h/cpp (slotCommit): code to determine the selected paths to 
restrict the commit action; (getSelectedItems): new method which replaces 
the former, less generic getSingleSelection which returned just one QModelIndex
* WorkspaceWindow.cpp: connect the inventory views with the dialog manager to 
let the commit dialog popup
* CommitRevision.h/cpp: better error handling if readWorkspaceRevision fails 
(e.g. because of a invalid restriction or other errors)
* WorkspaceDialogManager.h/cpp: new overload for showCommitRevision which takes 
a QStringList, make the previous one without the argument call the latter

Attachment: txtaaG1VXMx5J.txt
Description: Diff [f270b674e119e16f2536d3419920e81e00582d39] -> [6696a1ac3451f5a790858b51bb49ef31c3f16d79]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]