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

  • Committer: Aaron Bentley
  • Date: 2007-12-28 16:37:46 UTC
  • mto: This revision was merged to the branch mainline in revision 3154.
  • Revision ID: abentley@panoramicfeedback.com-20071228163746-975r76opsppiwstk
Handle missing tools gracefully in diff --using

Show diffs side-by-side

added added

removed removed

Lines of Context:
1870
1870
        BzrError.__init__(self, path)
1871
1871
 
1872
1872
 
 
1873
class ExecutableMissing(BzrError):
 
1874
 
 
1875
    _fmt = "%(exe_name)s could not be found on this machine"
 
1876
 
 
1877
    def __init__(self, exe_name):
 
1878
        BzrError.__init__(self, exe_name=exe_name)
 
1879
 
 
1880
 
1873
1881
class NoDiff(BzrError):
1874
1882
 
1875
1883
    _fmt = "Diff is not installed on this machine: %(msg)s"