Mercurial > hgsubversion
changeset 188:f48cd62a9de4
fetch_command: fix coding style
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 21 Jan 2009 20:10:32 -0600 |
parents | 68e506bc3a43 |
children | 8f751987cc0a |
files | fetch_command.py |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/fetch_command.py +++ b/fetch_command.py @@ -573,12 +573,10 @@ def stupid_svn_server_pull_rev(ui, svn, extra = util.build_extra(r.revnum, b, svn.uuid, svn.subdir) if '' in files_touched: files_touched.remove('') - removedFiles = [] - for file in files_touched: - if not hg_editor._is_file_included(file): - removedFiles.append(file) - for file in removedFiles: - files_touched.remove(file) + excluded = [f for f in files_touched + if not hg_editor._is_file_included(f)] + for f in excluded: + files_touched.remove(f) if parentctx.node() != node.nullid or files_touched: # TODO(augie) remove this debug code? Or maybe it's sane to have it. for f in files_touched: