Unreviewed build fix. Use --date-order so that every child commit appears after its parent.
Otherwise we'll hit a FailedToFindParentCommit error while submitting a commit that appears before its parent.

* tools/sync-commits.py:
(GitRepository._fetch_all_hashes):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@201120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Websites/perf.webkit.org/ChangeLog b/Websites/perf.webkit.org/ChangeLog
index c36dcd5..e45ee43 100644
--- a/Websites/perf.webkit.org/ChangeLog
+++ b/Websites/perf.webkit.org/ChangeLog
@@ -1,5 +1,13 @@
 2016-05-18  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Unreviewed build fix. Use --date-order so that every child commit appears after its parent.
+        Otherwise we'll hit a FailedToFindParentCommit error while submitting a commit that appears before its parent.
+
+        * tools/sync-commits.py:
+        (GitRepository._fetch_all_hashes):
+
+2016-05-18  Ryosuke Niwa  <rniwa@webkit.org>
+
         Removed the erroneously committed debug code.
 
         * tools/sync-commits.py:
diff --git a/Websites/perf.webkit.org/tools/sync-commits.py b/Websites/perf.webkit.org/tools/sync-commits.py
index 3bcc9ea..82157a3 100755
--- a/Websites/perf.webkit.org/tools/sync-commits.py
+++ b/Websites/perf.webkit.org/tools/sync-commits.py
@@ -214,7 +214,7 @@
 
     def _fetch_all_hashes(self):
         self._run_git_command(['pull', self._git_url])
-        lines = self._run_git_command(['log', '--all', '--reverse', '--pretty=%H %ct %ce %P']).split('\n')
+        lines = self._run_git_command(['log', '--all', '--date-order', '--reverse', '--pretty=%H %ct %ce %P']).split('\n')
         self._tokenized_hashes = [line.split() for line in lines]
 
     def _run_git_command(self, args):