]> khamidou — GitHub mirrors - arcanist.git/commit
Make retrieving parents for mercurial commits work consistently across platforms
authorRichard van Velzen <rvanvelzen@experty.com>
Tue, 10 Jun 2014 17:20:39 +0000 (10:20 -0700)
committerepriestley <git@epriestley.com>
Tue, 10 Jun 2014 17:20:39 +0000 (10:20 -0700)
commitb60eaa6487dda3be31d5a1bcfef350851edb473d
tree799a47b56520649210403c331b8872b544d1ccf3
parent57f4bbae42c55b8874289bbb267e41a6ec33d3e8
Make retrieving parents for mercurial commits work consistently across platforms

Summary:
Currently the template is single quoted, but Windows only supports double quotes. This meant that the output would be like:
  lang=text
  'aabbccddeeffaabbccddeeffaabbccddeeff0123
  '

Which is clearly wrong.

This is displayed like that in Phabricator as well, which is confusing.

Test Plan: ran `arc diff` on a Windows machine and saw the correct behaviour.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9450
src/repository/api/ArcanistMercurialAPI.php