The condition `if (localLocations.empty())` in method MercurialPlugin::add (line 201 in the current master) should probably be `if (locations.empty())` (as it is in many other methods).
Git commit 25277ccfb043c8b51349bbf95c35e53c27a8704e by Sergey Kalinichev. Committed on 15/01/2017 at 13:34. Pushed by vpuhov into branch 'master'. Fix MercurialPlugin::add in non-recursive case Spotted by Frank Fischer M +1 -1 mercurialplugin.cpp M +3 -0 tests/test_mercurial.cpp https://commits.kde.org/kdev-mercurial/25277ccfb043c8b51349bbf95c35e53c27a8704e