~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fetch_ghosts.py

  • Committer: Aaron Bentley
  • Date: 2005-11-15 18:34:19 UTC
  • mto: (283.2.1 bzrtools2)
  • mto: This revision was merged to the branch mainline in revision 285.
  • Revision ID: abentley@panoramicfeedback.com-20051115183419-54559bb4dcd71373
Got prompt and title working

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: