Mercurial > hgsubversion
comparison hg_delta_editor.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 | ffccf0080e54 |
children | 376ba9399ce6 |
comparison
equal
deleted
inserted
replaced
262:3b3627611468 | 263:d978192f0d63 |
---|---|
214 paths_need_discovery = [p[1] for p in paths_need_discovery] | 214 paths_need_discovery = [p[1] for p in paths_need_discovery] |
215 actually_files = [] | 215 actually_files = [] |
216 while paths_need_discovery: | 216 while paths_need_discovery: |
217 p = paths_need_discovery.pop(0) | 217 p = paths_need_discovery.pop(0) |
218 path_could_be_file = True | 218 path_could_be_file = True |
219 # TODO(augie) Figure out if you can use break here in a for loop, quick | |
220 # testing of that failed earlier. | |
221 ind = 0 | 219 ind = 0 |
222 while ind < len(paths_need_discovery) and not paths_need_discovery: | 220 while ind < len(paths_need_discovery) and not paths_need_discovery: |
223 if op.startswith(p): | 221 if op.startswith(p): |
224 path_could_be_file = False | 222 path_could_be_file = False |
225 ind += 1 | 223 ind += 1 |
631 | 629 |
632 parents = (self.get_parent_revision(rev.revnum, branch), | 630 parents = (self.get_parent_revision(rev.revnum, branch), |
633 revlog.nullid) | 631 revlog.nullid) |
634 if parents[0] in closed_revs and branch in self.branches_to_delete: | 632 if parents[0] in closed_revs and branch in self.branches_to_delete: |
635 continue | 633 continue |
636 # TODO this needs to be fixed with the new revmap | |
637 extra = util.build_extra(rev.revnum, branch, | 634 extra = util.build_extra(rev.revnum, branch, |
638 open(self.uuid_file).read(), | 635 open(self.uuid_file).read(), |
639 self.subdir) | 636 self.subdir) |
640 if branch is not None: | 637 if branch is not None: |
641 if (branch not in self.branches | 638 if (branch not in self.branches |