/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 breezy/git/fetch.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-08 22:40:33 UTC
  • mto: This revision was merged to the branch mainline in revision 7486.
  • Revision ID: jelmer@jelmer.uk-20200208224033-i8f361uitsabjmig
Add tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
    # Check what revision we should store
127
127
    parent_keys = []
128
128
    for ptree in parent_bzr_trees:
129
 
        ppath = find_previous_path(base_bzr_tree, ptree, decoded_path, recurse='none')
 
129
        try:
 
130
            ppath = find_previous_path(base_bzr_tree, ptree, decoded_path, recurse='none')
 
131
        except errors.NoSuchFile:
 
132
            continue
130
133
        if ppath is None:
131
134
            continue
132
135
        pkind = ptree.kind(ppath)