Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93201968
DifferentialGitSVNIDFieldSpecification.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, Nov 26, 23:55
Size
702 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 23:55 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22594662
Attached To
rPH Phabricator
DifferentialGitSVNIDFieldSpecification.php
View Options
<?php
final
class
DifferentialGitSVNIDFieldSpecification
extends
DifferentialFieldSpecification
{
private
$gitSVNID
;
public
function
shouldAppearOnCommitMessage
()
{
return
true
;
}
public
function
shouldAppearOnCommitMessageTemplate
()
{
return
false
;
}
public
function
getCommitMessageKey
()
{
return
'gitSVNID'
;
}
public
function
setValueFromParsedCommitMessage
(
$value
)
{
$this
->
gitSVNID
=
$value
;
return
$this
;
}
public
function
renderLabelForCommitMessage
()
{
return
'git-svn-id'
;
}
public
function
renderValueForCommitMessage
(
$is_edit
)
{
return
null
;
}
public
function
parseValueFromCommitMessage
(
$value
)
{
return
$value
;
}
}
Event Timeline
Log In to Comment