Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F115438405
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
Sun, Jun 1, 00:22
Size
510 B
Mime Type
text/x-php
Expires
Tue, Jun 3, 00:22 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26491175
Attached To
rPH Phabricator
DiffusionSvnRequest.php
View Options
<?php
final
class
DiffusionSvnRequest
extends
DiffusionRequest
{
protected
function
getSupportsBranches
()
{
return
false
;
}
protected
function
isStableCommit
(
$symbol
)
{
return
preg_match
(
'/^[1-9]
\d
*
\z
/'
,
$symbol
);
}
protected
function
didInitialize
()
{
if
(
$this
->
path
===
null
)
{
$subpath
=
$this
->
repository
->
getDetail
(
'svn-subpath'
);
if
(
$subpath
)
{
$this
->
path
=
$subpath
;
}
}
}
protected
function
getArcanistBranch
()
{
return
'svn'
;
}
}
Event Timeline
Log In to Comment