Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93286731
DiffusionSvnCommitParentsQuery.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 27, 15:28
Size
512 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 15:28 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22591248
Attached To
rPH Phabricator
DiffusionSvnCommitParentsQuery.php
View Options
<?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
,
$drequest
);
}
}
Event Timeline
Log In to Comment