/breezy-hg/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-hg/trunk

« back to all changes in this revision

Viewing changes to changegroup.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-20 15:50:52 UTC
  • Revision ID: jelmer@canonical.com-20111220155052-m9i6qmhn47xxuhla
Drop support for bzr < 2.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
            return overlay.lookup_text_node_by_revid_and_path(revision, path)
172
172
    text_nodes = {}
173
173
    base_reported = False
174
 
    try:
175
 
        file_graph = repo.get_file_graph()
176
 
    except AttributeError: # bzr < 2.4
177
 
        file_graph = repo.texts
 
174
    file_graph = repo.get_file_graph()
178
175
    first_parents = file_graph.get_parent_map([keys[0]])[keys[0]]
179
176
    if len(first_parents) == 0:
180
177
        yield ""