Mercurial > hgsubversion
comparison stupid.py @ 263:d978192f0d63
Clean up TODOs that are no longer relevant.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Mon, 13 Apr 2009 21:19:13 -0500 |
| parents | 4d3bcd2f26ed |
| children | ce676eff002b |
comparison
equal
deleted
inserted
replaced
| 262:3b3627611468 | 263:d978192f0d63 |
|---|---|
| 511 excluded = [f for f in files_touched | 511 excluded = [f for f in files_touched |
| 512 if not hg_editor._is_file_included(f)] | 512 if not hg_editor._is_file_included(f)] |
| 513 for f in excluded: | 513 for f in excluded: |
| 514 files_touched.remove(f) | 514 files_touched.remove(f) |
| 515 if parentctx.node() != node.nullid or files_touched: | 515 if parentctx.node() != node.nullid or files_touched: |
| 516 # TODO(augie) remove this debug code? Or maybe it's sane to have it. | |
| 517 for f in files_touched: | 516 for f in files_touched: |
| 518 if f: | 517 if f: |
| 518 # this is a case that really shouldn't ever happen, it means something | |
| 519 # is very wrong | |
| 519 assert f[0] != '/' | 520 assert f[0] != '/' |
| 520 current_ctx = context.memctx(hg_editor.repo, | 521 current_ctx = context.memctx(hg_editor.repo, |
| 521 [parentctx.node(), revlog.nullid], | 522 [parentctx.node(), revlog.nullid], |
| 522 r.message or util.default_commit_msg, | 523 r.message or util.default_commit_msg, |
| 523 files_touched, | 524 files_touched, |
