/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: Robert Collins
  • Date: 2007-08-31 00:04:57 UTC
  • mfrom: (2770 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2771.
  • Revision ID: robertc@robertcollins.net-20070831000457-uy77x0wf4zp8n04d
Resolve conflicts in NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
950
950
        BzrError.__init__(self, files=files, files_str=files_str)
951
951
 
952
952
 
 
953
class BadCommitMessageEncoding(BzrError):
 
954
 
 
955
    _fmt = 'The specified commit message contains characters unsupported by '\
 
956
        'the current encoding.'
 
957
 
 
958
 
953
959
class UpgradeReadonly(BzrError):
954
960
 
955
961
    _fmt = "Upgrade URL cannot work with readonly URLs."
1845
1851
       self.limbo_dir = limbo_dir
1846
1852
 
1847
1853
 
 
1854
class ExistingPendingDeletion(BzrError):
 
1855
 
 
1856
    _fmt = """This tree contains left-over files from a failed operation.
 
1857
    Please examine %(pending_deletion)s to see if it contains any files you
 
1858
    wish to keep, and delete it when you are done."""
 
1859
 
 
1860
    def __init__(self, pending_deletion):
 
1861
       BzrError.__init__(self, pending_deletion=pending_deletion)
 
1862
 
 
1863
 
1848
1864
class ImmortalLimbo(BzrError):
1849
1865
 
1850
1866
    _fmt = """Unable to delete transform temporary directory $(limbo_dir)s.
1856
1872
       self.limbo_dir = limbo_dir
1857
1873
 
1858
1874
 
 
1875
class ImmortalPendingDeletion(BzrError):
 
1876
 
 
1877
    _fmt = """Unable to delete transform temporary directory
 
1878
    %(pending_deletion)s.  Please examine %(pending_deletions)s to see if it
 
1879
    contains any files you wish to keep, and delete it when you are done."""
 
1880
 
 
1881
    def __init__(self, pending_deletion):
 
1882
       BzrError.__init__(self, pending_deletion=pending_deletion)
 
1883
 
 
1884
 
1859
1885
class OutOfDateTree(BzrError):
1860
1886
 
1861
1887
    _fmt = "Working tree is out of date, please run 'bzr update'."