Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99468687
DiffusionSvnRawDiffQuery.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, Jan 24, 20:15
Size
721 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 20:15 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23798479
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment