Lines Matching defs:rev1
19 protected $rev1; // timestamp of older revision
53 * @param int $rev1 older revision
57 public function compare($rev1, $rev2)
59 if ($rev2 < $rev1) [$rev1, $rev2] = [$rev2, $rev1];
60 $this->rev1 = (int)$rev1;
99 $this->rev1 = $INPUT->int('rev');
101 if ($this->rev2 <= $this->rev1) {
103 unset($this->rev1, $this->rev2);
110 [$rev1, $rev2] = $revs;
111 if ($rev2 < $rev1) [$rev1, $rev2] = [$rev2, $rev1];
112 $this->rev1 = (int)$rev1;
117 if (!isset($this->rev1, $this->rev2)) {
120 $rev1 = $this->changelog->lastRevision();
123 $rev1 = count($revs) ? $revs[0] : false;
125 $this->rev1 = $rev1;