Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3282017
ArcanistMercurialWorkingCopy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
488 B
Referenced Files
None
Subscribers
None
ArcanistMercurialWorkingCopy.php
View Options
<?php
final
class
ArcanistMercurialWorkingCopy
extends
ArcanistWorkingCopy
{
public
function
getMetadataDirectory
(
)
{
return
$this
->
getPath
(
'.hg'
)
;
}
protected
function
newWorkingCopyFromDirectories
(
$working_directory
,
$ancestor_directory
)
{
if
(
!
Filesystem
::
pathExists
(
$ancestor_directory
.
'/.hg'
)
)
{
return
null
;
}
return
new
self
(
)
;
}
protected
function
newRepositoryAPI
(
)
{
return
new
ArcanistMercurialAPI
(
$this
->
getPath
(
)
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 24, 03:22 (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114730
Default Alt Text
ArcanistMercurialWorkingCopy.php (488 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment