If a directory was just renamed but the contents did not change, it was
not listed in the output. This change should be listed, so be sure to
handle that case.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/lib/oe/buildhistory_analysis.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oe/buildhistory_analysis.py 
b/meta/lib/oe/buildhistory_analysis.py
index c1d502e89cf..4a95a928adf 100644
--- a/meta/lib/oe/buildhistory_analysis.py
+++ b/meta/lib/oe/buildhistory_analysis.py
@@ -150,10 +150,10 @@ class ChangeRecord:
                         lines.append('removed 
"{colour_remove}{value}{colour_default}"'.format(value=' '.join(removed), 
**colours))
                     if added:
                         lines.append('added 
"{colour_add}{value}{colour_default}"'.format(value=' '.join(added), **colours))
-            else:
+            elif not renamed_dirs:
                 lines.append('changed order')
 
-            if not (removed or added or changed_order):
+            if not (removed or added or changed_order or renamed_dirs):
                 out = ''
             else:
                 out = '%s: %s' % (self.fieldname, ', '.join(lines))
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#227476): 
https://lists.openembedded.org/g/openembedded-core/message/227476
Mute This Topic: https://lists.openembedded.org/mt/116711714/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to