/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: Vincent Ladeuil
  • Date: 2010-06-17 09:23:19 UTC
  • mfrom: (5301 +trunk)
  • mto: (5247.1.8 first-try)
  • mto: This revision was merged to the branch mainline in revision 5326.
  • Revision ID: v.ladeuil+lp@free.fr-20100617092319-da2bzdtf3j0voynf
Merge bzr.dev into cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1923
1923
class CantMoveRoot(BzrError):
1924
1924
 
1925
1925
    _fmt = "Moving the root directory is not supported at this time"
 
1926
    
 
1927
    
 
1928
class TransformRenameFailed(BzrError):
 
1929
 
 
1930
    _fmt = "Failed to rename %(from_path)s to %(to_path)s: %(why)s"
 
1931
    
 
1932
    def __init__(self, from_path, to_path, why, errno):
 
1933
        self.from_path = from_path
 
1934
        self.to_path = to_path
 
1935
        self.why = why
 
1936
        self.errno = errno
1926
1937
 
1927
1938
 
1928
1939
class BzrMoveFailedError(BzrError):
2839
2850
        BzrError.__init__(self, tree=tree, display_url=display_url, more=more)
2840
2851
 
2841
2852
 
 
2853
class ShelvedChanges(UncommittedChanges):
 
2854
 
 
2855
    _fmt = ('Working tree "%(display_url)s" has shelved changes'
 
2856
            ' (See bzr shelve --list).%(more)s')
 
2857
 
 
2858
 
2842
2859
class MissingTemplateVariable(BzrError):
2843
2860
 
2844
2861
    _fmt = 'Variable {%(name)s} is not available.'
3134
3151
    def __init__(self, bzrdir):
3135
3152
        self.bzrdir = bzrdir
3136
3153
 
 
3154
class NoWhoami(BzrError):
 
3155
 
 
3156
    _fmt = ('Unable to determine your name.\n'
 
3157
        "Please, set your name with the 'whoami' command.\n"
 
3158
        'E.g. bzr whoami "Your Name <name@example.com>"')
 
3159
 
 
3160