937
938
tags_to_fetch = set(self.tags.get_reverse_tag_dict())
938
939
except errors.TagsNotSupported:
941
942
old_repository, required_ids=[self.last_revision()],
942
943
if_present_ids=tags_to_fetch, find_ghosts=True).execute()
943
944
self.repository.fetch(old_repository, fetch_spec=fetch_spec)