/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/remote.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-19 03:30:42 UTC
  • mfrom: (7490.3.2 work)
  • mto: (7490.3.3 work)
  • mto: This revision was merged to the branch mainline in revision 7495.
  • Revision ID: jelmer@jelmer.uk-20200219033042-rvhvcukl72qb1wav
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
601
601
            if fetch_tags:
602
602
                for tagname, revid in viewitems(source.tags.get_tag_dict()):
603
603
                    if lossy:
604
 
                        new_sha = source_store._lookup_revision_sha1(revid)
 
604
                        try:
 
605
                            new_sha = source_store._lookup_revision_sha1(revid)
 
606
                        except KeyError:
 
607
                            if source.repository.has_revision(revid):
 
608
                                raise
605
609
                    else:
606
610
                        try:
607
611
                            new_sha = repo.lookup_bzr_revision_id(revid)[0]