]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add: warn if modified recipe found in attic directory
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 26 Jan 2016 02:53:56 +0000 (15:53 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jan 2016 18:04:35 +0000 (18:04 +0000)
commit0a39b907ff997c3a62c92ab22325c726b612de5b
tree6e408eaa50209ce42c852a5dc68d2ddc5b06f84f
parentb3a44951a74fe58714b72e71a7a558b67a71e1e3
devtool: add: warn if modified recipe found in attic directory

If a recipe generated by "devtool add" has been modified since then when
you run "devtool reset", it will be moved into the "attic" subdirectory
of the workspace in case those modifications need to be preserved. It
seems natural that if those modifications were worth preserving we
should warn the user if such a file exists when they run "devtool add"
to create the same recipe again, so they can pick up where they left off
if they want to.

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