Commit aa0fa76e authored by Luke Mewburn's avatar Luke Mewburn
Browse files

compat_asn1: support separate commit for each file

Allow each file or dependency to have its own git commit revision.
Support optional saving of the loaded files before parsing.

  -a, --dep1 [COMMIT:]DEP1
                        optional dependency for FILE1 or COMMIT1, with
                        optional commit. Used in conjunction with any
                        COMMONDEP. May be specified multiple times
  -b, --dep2 [COMMIT:]DEP2
                        optional dependency for FILE2 or COMMIT2, with
                        optional commit. Used in conjunction with any
                        COMMONDEP. May be specified multiple times
  -A, --save1 SAVE1     filename to write combined FILE1 and its dependencies
                        after reading
  -B, --save2 SAVE2     filename to write combined FILE2 or COMMIT2 and its
                        dependencies after reading

Revert part of 6c9c658b which converted filenames to pathlib.Path and
go back to using a string for the filename because it might contain
a "COMMIT:" prefix.  This also changes the interface used by asn_compat.py
parent db9c6727
Loading
Loading
Loading
Loading