~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testfetch.py

[merge] jelmer

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
def has_revision(branch, revision_id):
33
33
    try:
34
 
        branch.get_revision_xml_file(revision_id)
 
34
        branch.get_revision_xml(revision_id)
35
35
        return True
36
36
    except bzrlib.errors.NoSuchRevision:
37
37
        return False