[oe-commits] org.oe.dev mtnpatch: update to read newer diff format

justinp commit openembedded-commits at lists.openembedded.org
Thu Jan 18 18:37:01 UTC 2007


mtnpatch: update to read newer diff format

Author: justinp at openembedded.org
Branch: org.openembedded.dev
Revision: b2a44db31b351e87a2a0f84b1b302d9912a59afd
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b2a44db31b351e87a2a0f84b1b302d9912a59afd
Files:
1
contrib/mtnpatch.py
Diffs:

#
# mt diff -ra811392df02c75052048112396320ef56e5cc7c6 -rb2a44db31b351e87a2a0f84b1b302d9912a59afd
#
# 
# 
# patch "contrib/mtnpatch.py"
#  from [548eb57f429903903e7cf28f99fc5bb8213dbf3a]
#    to [2a22832568085d397c2be53ed00749febd1c97da]
# 
============================================================
--- contrib/mtnpatch.py	548eb57f429903903e7cf28f99fc5bb8213dbf3a
+++ contrib/mtnpatch.py	2a22832568085d397c2be53ed00749febd1c97da
@@ -30,7 +30,7 @@ def main(argv = None):
                                 print "%s add %s" % (mtncmd, fileName)
                             else:
                                 print "%s drop -e %s" % (mtncmd, fileName)
-                        elif cmd == "add":
+                        elif cmd == "add" or cmd == "add_file" or cmd == "add_dir":
                             if reverse:
                                 print "%s drop -e %s" % (mtncmd, fileName)
                             else:






More information about the Openembedded-commits mailing list