~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fetch_ghosts.py

  • Committer: Aaron Bentley
  • Date: 2005-11-11 17:43:12 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051111174312-1c627d82a07bf8fd
Added patch for tab-in-patch-filename support

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
                    installed.append(revision)
47
47
                except InstallFailed:
48
48
                    failed.append(revision)
49
 
            else:
50
 
                if this_branch.last_revision() is None:
51
 
                    print "No revisions in branch."
52
49
            if len(installed) > 0:
53
50
                print "Installed:"
54
51
                for rev in installed:
71
68
    """Find all ancestors that aren't stored in this branch."""
72
69
    seen = set()
73
70
    lines = [branch.last_revision()]
74
 
    if lines[0] is None:
75
 
        return
76
71
    while len(lines) > 0:
77
72
        new_lines = []
78
73
        for line in lines: