Don't throw an exception in case we do not find a branch cert tacked on
a revision from which we want to start our log from, but simply ignore that and go over to the next revision. Note that this is also a bit fragile and should probably be converted to plain mtn au log usage.
This commit is contained in:
parent
bbc9bd6ef4
commit
caac979263
@ -749,10 +749,9 @@ class IDF_Scm_Monotone extends IDF_Scm
|
||||
// read in the initial branches we should follow
|
||||
if (count($initialBranches) == 0) {
|
||||
if (!isset($certs['branch'])) {
|
||||
throw new IDF_Scm_Exception(sprintf(
|
||||
__("revision %s has no branch cert - cannot start ".
|
||||
"logging from this revision"), $rev
|
||||
));
|
||||
// this revision has no branch cert, we cannot start logging
|
||||
// from this revision
|
||||
continue;
|
||||
}
|
||||
$initialBranches = $certs['branch'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user