summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/combo-layer3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 648dda234..0f28cfa37 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -268,7 +268,8 @@ def action_apply_patch(conf, args):
logger.info("After applying, run this tool again to apply the remaining patches")
conf.update(name, "last_revision", lastrev)
sys.exit(0)
- conf.update(name, "last_revision", lastrev)
+ if lastrev != repo['last_revision']:
+ conf.update(name, "last_revision", lastrev)
def action_splitpatch(conf, args):
"""