/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-06-03 23:48:08 UTC
  • mfrom: (7316 work)
  • mto: This revision was merged to the branch mainline in revision 7328.
  • Revision ID: jelmer@jelmer.uk-20190603234808-15yk5c7054tj8e2b
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
 
        with br_to.lock_read():
 
172
        br_to.lock_read()
 
173
        try:
173
174
            from .log import show_branch_change
174
175
            show_branch_change(br_to, to_file, push_result.old_revno,
175
176
                               push_result.old_revid)
 
177
        finally:
 
178
            br_to.unlock()