/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/crash.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:
36
36
-Dno_apport.
37
37
"""
38
38
 
39
 
from __future__ import absolute_import
40
 
 
41
39
# for interactive testing, try the 'brz assert-fail' command
42
40
# or see http://code.launchpad.net/~mbp/bzr/bzr-fail
43
41
#
44
42
# to test with apport it's useful to set
45
43
# export APPORT_IGNORE_OBSOLETE_PACKAGES=1
46
44
 
 
45
from io import StringIO
47
46
import os
48
47
import platform
49
48
import pprint
52
51
 
53
52
import breezy
54
53
from . import (
55
 
    config,
 
54
    bedding,
56
55
    debug,
57
56
    osutils,
58
57
    plugin,
59
58
    trace,
60
59
    )
61
 
from .sixish import (
62
 
    StringIO,
63
 
    )
64
60
 
65
61
 
66
62
def report_bug(exc_info, stderr):
239
235
 
240
236
 
241
237
def _open_crash_file():
242
 
    crash_dir = config.crash_dir()
 
238
    crash_dir = bedding.crash_dir()
243
239
    if not osutils.isdir(crash_dir):
244
240
        # on unix this should be /var/crash and should already exist; on
245
241
        # Windows or if it's manually configured it might need to be created,