Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112049642
DiffusionSvnRequest.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, May 7, 07:53
Size
571 B
Mime Type
text/x-php
Expires
Fri, May 9, 07:53 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25997957
Attached To
rPH Phabricator
DiffusionSvnRequest.php
View Options
<?php
/**
* @group diffusion
*/
final
class
DiffusionSvnRequest
extends
DiffusionRequest
{
protected
function
getSupportsBranches
()
{
return
false
;
}
protected
function
didInitialize
()
{
if
(
$this
->
path
===
null
)
{
$subpath
=
$this
->
repository
->
getDetail
(
'svn-subpath'
);
if
(
$subpath
)
{
$this
->
path
=
$subpath
;
}
}
}
protected
function
getArcanistBranch
()
{
return
'svn'
;
}
public
function
getCommit
()
{
if
(
$this
->
commit
)
{
return
$this
->
commit
;
}
return
$this
->
getStableCommit
();
}
}
Event Timeline
Log In to Comment