Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12660809
ArcanistMercurialWorkingCopy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
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
Fri, Nov 28, 15:42 (23 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1043587
Default Alt Text
ArcanistMercurialWorkingCopy.php (488 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment