]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix 'rev' index error for Mercurial
authorepriestley <git@epriestley.com>
Thu, 10 May 2012 18:43:21 +0000 (11:43 -0700)
committerepriestley <git@epriestley.com>
Thu, 10 May 2012 18:43:21 +0000 (11:43 -0700)
Summary: I renamed this in D2437 for greater consistency with everything else, but missed this use of the old key.

Test Plan: idk lmk?

Reviewers: Makinde

Reviewed By: Makinde

CC: aran
Differential Revision: https://secure.phabricator.com/D2452

src/workflow/diff/ArcanistDiffWorkflow.php

index 85a86e83aaac566440a3cf2a968f8b230dd57c16..13f30a57d4819027cdb9e6f5b3a918b764831e68 100644 (file)
@@ -1751,7 +1751,7 @@ EOTEXT
     $messages = $repository_api->getCommitMessageLog();
 
     $local = $this->loadActiveLocalCommitInfo();
-    $hashes = ipull($local, null, 'rev');
+    $hashes = ipull($local, null, 'commit');
 
     $usable = array();
     foreach ($messages as $rev => $message) {