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

  • Committer: Martin
  • Date: 2019-06-16 01:03:51 UTC
  • mto: This revision was merged to the branch mainline in revision 7340.
  • Revision ID: gzlist@googlemail.com-20190616010351-uz89ydnwdoal4ve4
Split non-ini config methods to bedding

Functions that determine filesystem paths to use for config and default
username are now outside of the main (large) config module.

Also move cache_dir function from osutils and normalise logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
        self.base = base
285
285
 
286
286
 
 
287
class NoWhoami(BzrError):
 
288
 
 
289
    _fmt = ('Unable to determine your name.\n'
 
290
            "Please, set your name with the 'whoami' command.\n"
 
291
            'E.g. brz whoami "Your Name <name@example.com>"')
 
292
 
 
293
 
287
294
class BzrCommandError(BzrError):
288
295
    """Error from user command"""
289
296