Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2892731
ArcanistMercurialLocalState.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
1 KB
Referenced Files
None
Subscribers
None
ArcanistMercurialLocalState.php
View Options
<?php
final
class
ArcanistMercurialLocalState
extends
ArcanistRepositoryLocalState
{
private
$localCommit
;
private
$localRef
;
private
$localPath
;
public
function
getLocalRef
(
)
{
return
$this
->
localRef
;
}
public
function
getLocalPath
(
)
{
return
$this
->
localPath
;
}
protected
function
executeSaveLocalState
(
)
{
$api
=
$this
->
getRepositoryAPI
(
)
;
// TODO: Fix this.
}
protected
function
executeRestoreLocalState
(
)
{
$api
=
$this
->
getRepositoryAPI
(
)
;
// TODO: Fix this.
// TODO: In Mercurial, we may want to discard commits we've created.
// $repository_api->execxLocal(
// '--config extensions.mq= strip %s',
// $this->onto);
}
protected
function
executeDiscardLocalState
(
)
{
// TODO: Fix this.
}
protected
function
canStashChanges
(
)
{
// Depends on stash extension.
return
false
;
}
protected
function
getIgnoreHints
(
)
{
// TODO: Provide this.
return
array
(
)
;
}
protected
function
newRestoreCommandsForDisplay
(
)
{
// TODO: Provide this.
return
array
(
)
;
}
protected
function
saveStash
(
)
{
return
null
;
}
protected
function
restoreStash
(
$stash_ref
)
{
return
null
;
}
protected
function
discardStash
(
$stash_ref
)
{
return
null
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 17:15 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126865
Default Alt Text
ArcanistMercurialLocalState.php (1 KB)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment