Support for deleting tags

When parsing tags, also keep track of the checkin uuid
Fixed key-value parsing
Prevent apply stash when nothing is selected

FossilOrigin-Name: 72ac541c4c28f83c94c371f2d81e116b8f3cf261
This commit is contained in:
kostas
2015-05-03 10:05:46 +00:00
parent 8e21224a5e
commit 9777e1e2da
9 changed files with 84 additions and 33 deletions

View File

@ -6,6 +6,7 @@
#include <QDir>
#include <QSet>
#include <QMap>
#include "Utils.h"
#include "Fossil.h"
//////////////////////////////////////////////////////////////////////////
@ -120,7 +121,7 @@ public:
filemap_t &getFiles() { return workspaceFiles; }
stringset_t &getPaths() { return pathSet; }
stashmap_t &getStashes() { return stashMap; }
QStringList &getTags() { return tagList; }
QStringMap &getTags() { return tags; }
QStringList &getBranches() { return branchList; }
private:
@ -129,7 +130,7 @@ private:
stringset_t pathSet;
stashmap_t stashMap;
QStringList branchList;
QStringList tagList;
QStringMap tags;
QStandardItemModel repoFileModel;
QStandardItemModel repoDirModel;