Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86729990
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
Tue, Oct 8, 07:03
Size
575 B
Mime Type
text/x-php
Expires
Thu, Oct 10, 07:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21475309
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
->
getStableCommitName
();
}
}
Event Timeline
Log In to Comment