* Fix bug #19866.
This commit is contained in:
@@ -835,6 +835,9 @@ class repo extends control
|
||||
$entry = $this->repo->decodePath($path);
|
||||
$repo = $this->repo->getRepoByID($repoID);
|
||||
|
||||
$fromRevision = str_replace('*', '-', $fromRevision);
|
||||
$toRevision = str_replace('*', '-', $toRevision);
|
||||
|
||||
$this->commonAction($repoID);
|
||||
$this->scm->setEngine($repo);
|
||||
$content = $type == 'file' ? $this->scm->cat($entry, $fromRevision) : $this->scm->diff($entry, $fromRevision, $toRevision, 'patch');
|
||||
|
||||
Reference in New Issue
Block a user