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

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-09 21:36:27 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210109213627-h1xwcutzy9m7a99b
Added 'Case Preserving Working Tree Use Cases' from Canonical Wiki

* Addod a page from the Canonical Bazaar wiki
  with information on the scmeatics of case
  perserving filesystems an a case insensitive
  filesystem works.
  
  * Needs re-work, but this will do as it is the
    same inforamoton as what was on the linked
    page in the currint documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# along with this program; if not, write to the Free Software
16
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
 
18
 
 
19
18
"""A grouping of Exceptions for bzr-git"""
20
19
 
21
 
from __future__ import absolute_import
22
 
 
23
20
from dulwich import errors as git_errors
24
21
 
25
22
from .. import errors as brz_errors
61
58
 
62
59
class GitSmartRemoteNotSupported(brz_errors.UnsupportedOperation):
63
60
    _fmt = "This operation is not supported by the Git smart server protocol."
64
 
 
65
 
 
66
 
class UnknownCommitExtra(brz_errors.BzrError):
67
 
    _fmt = "Unknown extra fields in %(object)r: %(fields)r."
68
 
 
69
 
    def __init__(self, object, fields):
70
 
        brz_errors.BzrError.__init__(self)
71
 
        self.object = object
72
 
        self.fields = ",".join(fields)
73
 
 
74
 
 
75
 
class UnknownMercurialCommitExtra(brz_errors.BzrError):
76
 
    _fmt = "Unknown mercurial extra fields in %(object)r: %(fields)r."
77
 
 
78
 
    def __init__(self, object, fields):
79
 
        brz_errors.BzrError.__init__(self)
80
 
        self.object = object
81
 
        self.fields = ",".join(fields)