Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121810018
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
Mon, Jul 14, 01:57
Size
338 B
Mime Type
text/x-php
Expires
Wed, Jul 16, 01:57 (2 d)
Engine
blob
Format
Raw Data
Handle
27394759
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