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
This is similar to gencl but supports more features and is written in Python.
BUG=chromium-os:8205
TEST=Ran ( ./cros_changelog 0.9.102.0 cros/master > /tmp/test1.html &&
./cros_changelog 0.9.102.0 > /tmp/test2.html )
First command prints changes between 0.9.102.0 and master. Second
command prints changes between 0.9.102.0 and previous release.
Review URL: http://codereview.chromium.org/4175007
Change-Id: I1a81f7d02e4164a4c61aeaad0c01903658571260
Change-Id: I95bb4518bbfa2931407a90180686845fd9e928e5
BUG=chromium-os:6574
TEST=manually run test script and verified all 4 test cases passed
Review URL: http://codereview.chromium.org/3341024
Change-Id: I6b9333fcf1325dbe141ad387f52d85781de96819
BUG=chromium-os:6600
TEST=added 8 test cases for RunCommand (up from zero :-) Ran all tests and
verified all passed. No regression either
Review URL: http://codereview.chromium.org/3307022
For chromite, we often want to run shell commands directly instead of using the
array syntax currently accepted by RunCommand. This makes it easier to run
piped commands, for example.
BUG=chromium-os:6573
TEST=I'm using it in cros_build.
Change-Id: Ic846e257fec4e423b0253d06641eac232545f6f6
Review URL: http://codereview.chromium.org/3323019