Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106021639
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
Fri, Mar 21, 14:49
Size
510 B
Mime Type
text/x-php
Expires
Sun, Mar 23, 14:49 (2 d)
Engine
blob
Format
Raw Data
Handle
25036167
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