~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-10 06:29:49 UTC
  • mfrom: (3995.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090210062949-kj7rpejso2405ug1
Add --no-tree option to bzr branch (Daniel Watkins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2937
2937
class UserAbort(BzrError):
2938
2938
 
2939
2939
    _fmt = 'The user aborted the operation.'
 
2940
 
 
2941
 
 
2942
class MustHaveWorkingTree(BzrError):
 
2943
 
 
2944
    _fmt = ("Branching '%(url)s'(%(format)s) must create a working tree.")
 
2945
 
 
2946
    def __init__(self, format, url):
 
2947
        BzrError.__init__(self, format=format, url=url)