Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92931616
DiffusionMercurialExistsQuery.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
Sun, Nov 24, 22:20
Size
338 B
Mime Type
text/x-php
Expires
Tue, Nov 26, 22:20 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22536895
Attached To
rPH Phabricator
DiffusionMercurialExistsQuery.php
View Options
<?php
final
class
DiffusionMercurialExistsQuery
extends
DiffusionExistsQuery
{
protected
function
executeQuery
()
{
$request
=
$this
->
getRequest
();
$repository
=
$request
->
getRepository
();
list
(
$err
,
$stdout
)
=
$repository
->
execLocalCommand
(
'id --rev %s'
,
$request
->
getCommit
());
return
!
$err
;
}
}
Event Timeline
Log In to Comment