Mercurial > hgsubversion
comparison fetch_command.py @ 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 | 43d56e973c3c |
comparison
equal
deleted
inserted
replaced
| 187:68e506bc3a43 | 188:f48cd62a9de4 |
|---|---|
| 571 return filectxfn2(repo, memctx, path) | 571 return filectxfn2(repo, memctx, path) |
| 572 | 572 |
| 573 extra = util.build_extra(r.revnum, b, svn.uuid, svn.subdir) | 573 extra = util.build_extra(r.revnum, b, svn.uuid, svn.subdir) |
| 574 if '' in files_touched: | 574 if '' in files_touched: |
| 575 files_touched.remove('') | 575 files_touched.remove('') |
| 576 removedFiles = [] | 576 excluded = [f for f in files_touched |
| 577 for file in files_touched: | 577 if not hg_editor._is_file_included(f)] |
| 578 if not hg_editor._is_file_included(file): | 578 for f in excluded: |
| 579 removedFiles.append(file) | 579 files_touched.remove(f) |
| 580 for file in removedFiles: | |
| 581 files_touched.remove(file) | |
| 582 if parentctx.node() != node.nullid or files_touched: | 580 if parentctx.node() != node.nullid or files_touched: |
| 583 # TODO(augie) remove this debug code? Or maybe it's sane to have it. | 581 # TODO(augie) remove this debug code? Or maybe it's sane to have it. |
| 584 for f in files_touched: | 582 for f in files_touched: |
| 585 if f: | 583 if f: |
| 586 assert f[0] != '/' | 584 assert f[0] != '/' |
