forked from qt-creator/qt-creator
Git: Rename synchronousBranch -> synchronousTopic
Change-Id: I272e9db7a560f6e72dda6a0368d463da820f5b0b Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
2118d542e6
commit
6a58cdffc2
@@ -142,7 +142,7 @@ QString GitVersionControl::vcsGetRepositoryURL(const QString &directory)
|
||||
|
||||
QString GitVersionControl::vcsTopic(const QString &directory)
|
||||
{
|
||||
return m_client->synchronousBranch(directory);
|
||||
return m_client->synchronousTopic(directory);
|
||||
}
|
||||
|
||||
/* Snapshots are implemented using stashes, relying on stash messages for
|
||||
@@ -169,7 +169,7 @@ QString GitVersionControl::vcsCreateSnapshot(const QString &topLevel)
|
||||
QString topRevision = m_client->synchronousTopRevision(topLevel);
|
||||
if (topRevision.isEmpty())
|
||||
return QString();
|
||||
QString branch = m_client->synchronousBranch(topLevel);
|
||||
QString branch = m_client->synchronousTopic(topLevel);
|
||||
const QChar colon = QLatin1Char(':');
|
||||
QString id = QLatin1String(stashRevisionIdC);
|
||||
id += colon;
|
||||
|
||||
Reference in New Issue
Block a user