Page MenuHomePhabricator

DiffusionSvnCommitParentsQuery.php
No OneTemporary

DiffusionSvnCommitParentsQuery.php

<?php
final class DiffusionSvnCommitParentsQuery
extends DiffusionCommitParentsQuery {
protected function executeQuery() {
$drequest = $this->getRequest();
$repository = $drequest->getRepository();
// TODO: With merge properties in recent versions of SVN, can we do
// a better job of this?
$n = $drequest->getStableCommitName();
if ($n > 1) {
$ids = array($n - 1);
} else {
$ids = array();
}
return self::loadCommitsByIdentifiers($ids);
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Jul 31, 11:28 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
16386007
Default Alt Text
DiffusionSvnCommitParentsQuery.php (501 B)

Event Timeline