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

  • Committer: Jelmer Vernooij
  • Date: 2019-09-21 17:08:09 UTC
  • mfrom: (7389 work)
  • mto: This revision was merged to the branch mainline in revision 7390.
  • Revision ID: jelmer@jelmer.uk-20190921170809-ejewbeue585deajo
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
    push_result.report(to_file)
170
170
    if verbose:
171
171
        br_to = push_result.target_branch
172
 
        br_to.lock_read()
173
 
        try:
 
172
        with br_to.lock_read():
174
173
            from .log import show_branch_change
175
174
            show_branch_change(br_to, to_file, push_result.old_revno,
176
175
                               push_result.old_revid)
177
 
        finally:
178
 
            br_to.unlock()