Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F424004
DiffusionSvnRawDiffQuery.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
721 B
Referenced Files
None
Subscribers
None
DiffusionSvnRawDiffQuery.php
View Options
<?php
final
class
DiffusionSvnRawDiffQuery
extends
DiffusionRawDiffQuery
{
protected
function
newQueryFuture
()
{
$drequest
=
$this
->
getRequest
();
$repository
=
$drequest
->
getRepository
();
$commit
=
$this
->
getAnchorCommit
();
$arc_root
=
phutil_get_library_root
(
'arcanist'
);
$against
=
$this
->
getAgainstCommit
();
if
(
$against
===
null
)
{
$against
=
$commit
-
1
;
}
$future
=
$repository
->
getRemoteCommandFuture
(
'diff --diff-cmd %s -x -U%d -r %d:%d %s'
,
$arc_root
.
'/../scripts/repository/binary_safe_diff.sh'
,
$this
->
getLinesOfContext
(),
$against
,
$commit
,
$repository
->
getSubversionPathURI
(
$drequest
->
getPath
()));
return
$future
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, May 2, 7:47 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
57225
Default Alt Text
DiffusionSvnRawDiffQuery.php (721 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment