/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/plugins/repodebug/fetch_all_records.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-02 02:35:46 UTC
  • mfrom: (7309 work)
  • mto: This revision was merged to the branch mainline in revision 7319.
  • Revision ID: jelmer@jelmer.uk-20190602023546-lqco868tnv26d8ow
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
from ...controldir import ControlDir
21
21
from ...commands import Command, Option
22
 
from ... import errors, trace, urlutils
 
22
from ... import errors, urlutils
23
23
 
24
24
 
25
25
class cmd_fetch_all_records(Command):
51
51
        try:
52
52
            target = ControlDir.open(directory).open_repository()
53
53
        except (errors.NotBranchError, urlutils.InvalidURL):
54
 
            print(u"Not a branch or invalid URL: %s" % directory, file=self.outf)
 
54
            print(u"Not a branch or invalid URL: %s" %
 
55
                  directory, file=self.outf)
55
56
            return
56
57
 
57
58
        self.add_cleanup(source.lock_read().unlock)