~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fetch_missing.py

  • Committer: Aaron Bentley
  • Date: 2005-10-03 16:55:41 UTC
  • Revision ID: abentley@panoramicfeedback.com-20051003165541-407522f389c7b955
Fixed last_revision calls

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
def iter_missing_ancestors(branch):
49
49
    """Find all ancestors that aren't stored in this branch."""
50
50
    seen = set()
51
 
    lines = [branch.last_patch()]
 
51
    lines = [branch.last_revision()]
52
52
    while len(lines) > 0:
53
53
        new_lines = []
54
54
        for line in lines: