Summary: See rage in T1117. Don't use the <project + branch> heuristic anymore..
Test Plan: Ran "arc diff --strict HEAD^" on a commit stacked on top of this one, got no matches.
Reviewers: btrahan, vrana, simpkins, beng
Reviewed By: btrahan
CC: aran, avive
Maniphest Tasks: T1117
Differential Revision: https://secure.phabricator.com/D2221
'commitHashes' => $hashes,
));
- if ($results) {
- return $results;
- }
-
- // If we still didn't succeed, try to find revisions by branch name.
- $project = $this->getWorkingCopyIdentity()->getProjectID();
- $results = $conduit->callMethodSynchronous(
- 'differential.query',
- $query + array(
- 'branches' => array($this->getBranchName()),
- 'arcanistProjects' => array($project),
- ));
-
return $results;
}
$template =
rtrim($comments).
"\n\n".
- "# Enter a brief description of the changes included in this update.".
+ "# Enter a brief description of the changes included in this update.\n".
+ "#\n".
+ "# If you intended to create a new revision, use:\n".
+ "# $ arc diff --create\n".
"\n";
$comments = id(new PhutilInteractiveEditor($template))