diff hgsubversion/pushmod.py @ 1558:ae572c9be4e6

cleanup: remove lots of dead imports and code found by pyflakes
author Augie Fackler <raf@durin42.com>
date Sat, 24 Mar 2018 17:04:19 -0400
parents cff81f35b31e
children 51e105c7f0c6
line wrap: on
line diff
--- a/hgsubversion/pushmod.py
+++ b/hgsubversion/pushmod.py
@@ -142,7 +142,6 @@ def commit(ui, repo, rev_ctx, meta, base
                         props.setdefault(file, {}).update(autoprops)
 
                 action = 'add'
-                dirname = '/'.join(file.split('/')[:-1] + [''])
             else:
                 base_data = parent.filectx(file).data()
                 if ('x' in parent.filectx(file).flags()