If no branch certificates are attached to a revision, we do not get
an empty array back from _getCerts(), but no entry for 'branch' at all.
This commit is contained in:
parent
806e69b858
commit
d25bc74d71
@ -413,7 +413,7 @@ class IDF_Scm_Monotone extends IDF_Scm
|
|||||||
$certs = $scm->_getCerts($revs[0]);
|
$certs = $scm->_getCerts($revs[0]);
|
||||||
// for the very seldom case that a revision
|
// for the very seldom case that a revision
|
||||||
// has no branch certificate
|
// has no branch certificate
|
||||||
if (count($certs['branch']) == 0) {
|
if (!array_key_exists('branch', $certs)) {
|
||||||
$branch = '*';
|
$branch = '*';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user