diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-02-14 13:44:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-21 14:55:51 +0000 |
commit | 4592f238de3fe6b0384c334774be9fcfc0985e4f (patch) | |
tree | 0329b5df1038c6d826a11016e6b6a1ab181e75cf /README | |
parent | 9d3e54057673348e85ba479705c4ffaad56973d6 (diff) | |
download | openembedded-core-4592f238de3fe6b0384c334774be9fcfc0985e4f.tar.gz openembedded-core-4592f238de3fe6b0384c334774be9fcfc0985e4f.tar.bz2 openembedded-core-4592f238de3fe6b0384c334774be9fcfc0985e4f.tar.xz openembedded-core-4592f238de3fe6b0384c334774be9fcfc0985e4f.zip |
scripts/combo-layer: avoid saving last revision if unchanged
If we are running an update and the last revision hasn't changed since
the last update, don't write to the configuration file. This avoids
committing the config file with no changes other than spontaneous
reordering of sections, which sometimes occurs due to the behaviour of
the internal dictionary in Python's ConfigParser class. (This can be
fixed properly but the fix is only easy in Python 2.7+ due to the
availability there of the collections.OrderedDict class, and we
currently want to be compatible with 2.6.x as well.)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions