# # # patch "src/model/Inventory.cpp" # from [758c0469a1427919e7af3814b8437a79e6f8a35c] # to [c3a8fe3d0b7bcea96d6e55a55f53be17d02d2161] # ============================================================ --- src/model/Inventory.cpp 758c0469a1427919e7af3814b8437a79e6f8a35c +++ src/model/Inventory.cpp c3a8fe3d0b7bcea96d6e55a55f53be17d02d2161 @@ -47,16 +47,6 @@ void Inventory::read(const QString & pat { I(!workspacePath.isEmpty()); - if (itemMap.contains(path)) - { - const InventoryItem * item = itemMap.value(path); - if (item->hasStatus(InventoryItem::Unknown)) - { - W(QString("skipping read on unknown path '%1'").arg(path)); - return; - } - } - QStringList cmd = QStringList() << "inventory"; if (!path.isEmpty()) { @@ -124,7 +114,7 @@ void Inventory::processTaskResult(const // add unknown paths later on... if (task->outOfBandMessagesMatch( MonotoneTask::Warning, - QRegExp("/restriction includes unknown path .+/") + QRegExp("restriction includes unknown path") ) && itemMap.contains(queriedPath)) { if (QFile::exists(workspacePath + "/" + itemMap[queriedPath]->getPath()))