Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15340905
D8888.id21131.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
789 B
Referenced Files
None
Subscribers
None
D8888.id21131.diff
View Options
diff --git a/src/workflow/ArcanistBaseWorkflow.php b/src/workflow/ArcanistBaseWorkflow.php
--- a/src/workflow/ArcanistBaseWorkflow.php
+++ b/src/workflow/ArcanistBaseWorkflow.php
@@ -1124,10 +1124,10 @@
}
if (empty($this->changeCache[$path])) {
- if ($is_git) {
- // This can legitimately occur under git if you make a change, "git
- // commit" it, and then revert the change in the working copy and run
- // "arc lint".
+ if ($is_git || $is_hg) {
+ // This can legitimately occur under git/hg if you make a change,
+ // "git/hg commit" it, and then revert the change in the working copy
+ // and run "arc lint".
$change = new ArcanistDiffChange();
$change->setCurrentPath($path);
return $change;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 5:35 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7460997
Default Alt Text
D8888.id21131.diff (789 B)
Attached To
Mode
D8888: It should be also valid to have empty change under hg
Attached
Detach File
Event Timeline
Log In to Comment