# HG changeset patch # User Andreas Woess # Date 1433345906 -7200 # Node ID 70649030d5110c7e7114cda477c9c5417c950c6c # Parent 8b03b940c29d087aff6e60ab86ec8deddb92df85 mx archive: exclude dotfiles diff -r 8b03b940c29d -r 70649030d511 mxtool/mx.py --- a/mxtool/mx.py Wed Jun 03 17:37:43 2015 +0200 +++ b/mxtool/mx.py Wed Jun 03 17:38:26 2015 +0200 @@ -167,6 +167,9 @@ srcArc = arc if unified else srcArcRaw services = {} def overwriteCheck(zf, arcname, source): + if os.path.basename(arcname).startswith('.'): + logv('Excluding dotfile: ' + source) + return True if not hasattr(zf, '_provenance'): zf._provenance = {} existingSource = zf._provenance.get(arcname, None)