Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/bin/createNightlies.py

Issue 29361775: Issue 4605 - List the correct changes for development builds (Closed)
Patch Set: Created Nov. 7, 2016, 12:07 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« .sitescripts.example ('K') | « .sitescripts.example ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/bin/createNightlies.py
diff --git a/sitescripts/extensions/bin/createNightlies.py b/sitescripts/extensions/bin/createNightlies.py
index 6756c3c66e17d11ef8c50b0ee9c65cabd028949b..5aa2526427a55249a08bc41fc4dcdefea2bb8f9c 100644
--- a/sitescripts/extensions/bin/createNightlies.py
+++ b/sitescripts/extensions/bin/createNightlies.py
@@ -102,10 +102,9 @@ class NightlyBuild(object):
"""
retrieve changes between the current and previous ("first") revision
"""
-
command = [
'hg', 'log', '-R', self.tempdir, '-r',
- 'ancestors({})'.format(self.config.revision), '-l', '50',
+ 'reverse(ancestors({}))'.format(self.config.revision), '-l', '50',
'--encoding', 'utf-8', '--template',
'{date|isodate}\\0{author|person}\\0{rev}\\0{desc}\\0\\0',
'--config', 'defaults.log='
« .sitescripts.example ('K') | « .sitescripts.example ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld