buildhistory-diff: improve command-line handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 15 Aug 2013 17:04:39 +0000 (18:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:44:17 +0000 (11:44 +0100)
commit296d1f13a596baebb8a6dcc30ccc35ad0b780c60
tree1f662f21526aafe5c24c7b86b952db638252ce5a
parentfadf22a9c3d2ee21a9fd97da4dc47daae9e33118
buildhistory-diff: improve command-line handling

Improve command-line argument handling of buildhistory-diff to make it
easier to use.

* Default buildhistory directory to buildhistory/ under the current
  directory and require an option to set it (since most users will
  likely run buildhistory-diff from the build directory and keep
  BUILDHISTORY_DIR at its default location)
* Default from-revision to "build-minus-1" to get the difference from
  the previous build with no arguments
* Allow from/to revisions to be specified by from..to (since git accepts
  this form).

(From OE-Core rev: 5e2be70e89820ffc74208d225fe4414fe5182050)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/buildhistory-diff