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

  • Committer: Jelmer Vernooij
  • Date: 2020-07-28 00:32:38 UTC
  • mfrom: (7490.40.77 work)
  • mto: (7490.40.79 work)
  • mto: This revision was merged to the branch mainline in revision 7521.
  • Revision ID: jelmer@jelmer.uk-20200728003238-vx5u412hn72f18lr
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
                        target, basis.get_reference_revision(path),
223
223
                        force_new_repo=force_new_repo, recurse=recurse,
224
224
                        stacked=stacked)
 
225
        if getattr(result_repo, '_git', None):
 
226
            # Don't leak resources:
 
227
            # TODO(jelmer): This shouldn't be git-specific, and possibly
 
228
            # just use read locks.
 
229
            result_repo._git.object_store.close()
225
230
        return result
226
231
 
227
232
    def clone_on_transport(self, transport, revision_id=None,