Mercurial > hgsubversion
comparison 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 |
comparison
equal
deleted
inserted
replaced
1557:dd409375c261 | 1558:ae572c9be4e6 |
---|---|
140 autoprops = svn.autoprops_config.properties(file) | 140 autoprops = svn.autoprops_config.properties(file) |
141 if autoprops: | 141 if autoprops: |
142 props.setdefault(file, {}).update(autoprops) | 142 props.setdefault(file, {}).update(autoprops) |
143 | 143 |
144 action = 'add' | 144 action = 'add' |
145 dirname = '/'.join(file.split('/')[:-1] + ['']) | |
146 else: | 145 else: |
147 base_data = parent.filectx(file).data() | 146 base_data = parent.filectx(file).data() |
148 if ('x' in parent.filectx(file).flags() | 147 if ('x' in parent.filectx(file).flags() |
149 and 'x' not in rev_ctx.filectx(file).flags()): | 148 and 'x' not in rev_ctx.filectx(file).flags()): |
150 props.setdefault(file, {})['svn:executable'] = None | 149 props.setdefault(file, {})['svn:executable'] = None |