/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/doc_generate/autodoc_rstx.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:
20
20
Written by the Bazaar/Breezy community.
21
21
"""
22
22
 
23
 
from __future__ import absolute_import
24
 
 
25
23
import time
26
24
 
27
25
import breezy
130
128
    """Dump text for a topic to a file."""
131
129
    topic_id = "%s-%s" % (topic, "help")
132
130
    filename = breezy.osutils.pathjoin(output_dir, topic_id + ".txt")
133
 
    with open(filename, "w") as f:
 
131
    with open(filename, "wb") as f:
134
132
        f.write(text.encode('utf-8'))
135
133
    return topic_id
136
134