Made tag references explicit with "tag:" to prevent clashes with filesystem objects with the same name
FossilOrigin-Name: 71aeb47a33d20919a71efc23d973c5f6a3c3bb90
This commit is contained in:
@ -463,7 +463,7 @@ bool Fossil::tagList(QStringMap& tags)
|
||||
|
||||
info.clear();
|
||||
|
||||
if(!runFossil(QStringList() << "info" << tag, &info, RUNFLAGS_SILENT_ALL))
|
||||
if(!runFossil(QStringList() << "info" << "tag:"+tag, &info, RUNFLAGS_SILENT_ALL))
|
||||
return false;
|
||||
|
||||
QStringMap props;
|
||||
@ -495,7 +495,7 @@ bool Fossil::tagDelete(const QString& name, const QString &revision)
|
||||
{
|
||||
QStringList res;
|
||||
|
||||
if(!runFossil(QStringList() << "tag" << "cancel" << name << revision, &res))
|
||||
if(!runFossil(QStringList() << "tag" << "cancel" << "tag:"+name << revision, &res))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
@ -731,6 +731,12 @@ bool Fossil::runFossilRaw(const QStringList &args, QStringList *output, int *exi
|
||||
|
||||
buffer += decoder->toUnicode(input);
|
||||
|
||||
|
||||
#ifdef QT_DEBUG // breakpint
|
||||
//if(buffer.indexOf("SQLITE_CANTOPEN")!=-1)
|
||||
// qDebug() << "Breakpoint\n";
|
||||
#endif
|
||||
|
||||
QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
|
||||
|
||||
if(buffer.isEmpty())
|
||||
|
Reference in New Issue
Block a user