Vcs: Re-implement Fossil's topic indicator using a TopicCache sub-class

The functionality for tracking project's current topic/branch has
long been folded into a base class Core::IVersionControl::TopicCache.
Fossil plugin should just sub-class it and pass the instance to the base.

Change-Id: I1b6c1631f5fc10987d8a608d573defeecbc31b37
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Artur Shepilko
2017-04-20 00:59:51 -05:00
parent 9086d2d11d
commit ac8005190d
3 changed files with 29 additions and 27 deletions

View File

@@ -59,7 +59,6 @@ public:
bool vcsMove(const QString &from, const QString &to) final;
bool vcsCreateRepository(const QString &directory) final;
bool vcsAnnotate(const QString &file, int line) final;
QString vcsTopic(const QString &directory) final;
Core::ShellCommand *createInitialCheckoutCommand(const QString &sourceUrl,
const Utils::FileName &baseDirectory,
const QString &localName,