# HG changeset patch # User Bernhard Urban # Date 1400679275 -7200 # Node ID de8296c27680337107bc07e23f2ab1178ae75f4a # Parent f0127716b881c99f4264e92dc2777551bd5958f4 mx archive: avoid multiple directory entries too diff -r f0127716b881 -r de8296c27680 mxtool/mx.py --- a/mxtool/mx.py Wed May 21 15:29:38 2014 +0200 +++ b/mxtool/mx.py Wed May 21 15:34:35 2014 +0200 @@ -100,7 +100,7 @@ zf._provenance = {} existingSource = zf._provenance.get(arcname, None) isOverwrite = False - if existingSource and existingSource != source and not arcname.endswith('/'): + if existingSource and existingSource != source: log('warning: ' + self.path + ': overwriting ' + arcname + '\n new: ' + source + '\n old: ' + existingSource) isOverwrite = True zf._provenance[arcname] = source