Three more test cases for the mtn interface added
- add tests for getTree(), getChanges() and isCommitLarge() - anonymize the test data somewhat - return false instead of null for unknown revisions given to getChanges()
This commit is contained in:
@@ -599,7 +599,7 @@ class IDF_Scm_Monotone extends IDF_Scm
|
||||
{
|
||||
$revs = $this->_resolveSelector($commit);
|
||||
if (count($revs) == 0)
|
||||
return null;
|
||||
return false;
|
||||
|
||||
$revision = $revs[0];
|
||||
$out = $this->stdio->exec(array('get_revision', $revision));
|
||||
|
Reference in New Issue
Block a user