~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

bugfix from Aaron Bentley - bzrlib.graph.max_distance had an off-by-1 error

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
            
135
135
def get_tree(treespec, temp_root, label, local_branch=None):
136
136
    location, revno = treespec
137
 
    branch = Branch.open(location)
 
137
    branch = Branch.open_containing(location)
138
138
    if revno is None:
139
139
        revision = None
140
140
    elif revno == -1: