/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/ui/text.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:
16
16
 
17
17
"""Text UI, write output to the console."""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
import codecs
22
20
import io
23
21
import os
40
38
    osutils,
41
39
    trace,
42
40
    )
43
 
from ..sixish import (
44
 
    text_type,
45
 
    )
46
41
from . import (
47
42
    NullProgressView,
48
43
    UIFactory,
325
320
        :param kwargs: Dictionary of arguments to insert into the prompt,
326
321
            to allow UIs to reformat the prompt.
327
322
        """
328
 
        if not isinstance(prompt, text_type):
 
323
        if not isinstance(prompt, str):
329
324
            raise ValueError("prompt %r not a unicode string" % prompt)
330
325
        if kwargs:
331
326
            # See <https://launchpad.net/bugs/365891>