~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fetch_ghosts.py

  • Committer: Aaron Bentley
  • Date: 2005-11-21 14:29:35 UTC
  • mfrom: (288 bzrtools)
  • mto: (147.4.24 trunk)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: abentley@panoramicfeedback.com-20051121142935-96c67761f8d04a12
Updated from mainline bzrtools

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."
49
52
            if len(installed) > 0:
50
53
                print "Installed:"
51
54
                for rev in installed:
68
71
    """Find all ancestors that aren't stored in this branch."""
69
72
    seen = set()
70
73
    lines = [branch.last_revision()]
 
74
    if lines[0] is None:
 
75
        return
71
76
    while len(lines) > 0:
72
77
        new_lines = []
73
78
        for line in lines: