Don't check if the main branch is empty, but let the view code later

handle the case where a selector doesn't resolve to at least one
revision gracefully (see also issue 525).
This commit is contained in:
Thomas Keller 2010-08-29 22:59:12 +00:00
parent af3df142d4
commit 194dcad0e3

View File

@ -122,12 +122,6 @@ class IDF_Scm_Monotone extends IDF_Scm
$branch = "*"; $branch = "*";
} }
if (count($this->_resolveSelector("h:$branch")) == 0) {
throw new IDF_Scm_Exception(
"Branch $branch is empty"
);
}
return $branch; return $branch;
} }