Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108562516
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
Thu, Apr 17, 10:55
Size
575 B
Mime Type
text/x-php
Expires
Sat, Apr 19, 10:55 (2 d)
Engine
blob
Format
Raw Data
Handle
25623529
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