mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-15 15:42:06 +01:00
Other changes:
1. Clean up revision handling to be more forgiving if people want to use
things that don't start with "cros/". Instead, we only enforce that
people use tags if they want to use the one-argument version of
cros_changelog.
2. Tags are quoted in the command-line so that people can, for instance,
diff 'cros/master{2 days ago}' vs 'cros/master{1 day ago}'.
Change-Id: I28c7d77ae83256d4c28411ef589f3e726cc81d80
BUG=chromium-os:8205
TEST=Ran ( ./cros_changelog 0.9.104.0 cros/master > /tmp/test1.html &&
./cros_changelog --sort-by-date 0.9.104.0 cros/master > /tmp/test2.html )
Both commands print changes between 0.9.104.0 and master, but the second command prints results sorted by date.
Review URL: http://codereview.chromium.org/4130009