/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to commands.py

Cope with Dulwich returning KeyError when a commit is not found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        except NotBranchError:
76
76
            target_bzrdir = BzrDir.create(dest_location, format=format)
77
77
        try:
78
 
            target_repo = target_bzrdir.open_repository()
 
78
            target_repo = target_bzrdir.find_repository()
79
79
        except NoRepositoryPresent:
80
80
            target_repo = target_bzrdir.create_repository(shared=True)
81
81