Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93182523
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
Tue, Nov 26, 20:12
Size
512 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 20:12 (2 d)
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