/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/cethread.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:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from __future__ import absolute_import
18
 
 
19
17
import sys
20
18
import threading
21
19
 
22
 
from .sixish import (
23
 
    reraise,
24
 
)
25
 
 
26
20
 
27
21
class CatchingExceptionThread(threading.Thread):
28
22
    """A thread that keeps track of exceptions.
145
139
            if (self.ignored_exceptions is None
146
140
                    or not self.ignored_exceptions(exc_value)):
147
141
                # Raise non ignored exceptions
148
 
                reraise(exc_class, exc_value, exc_tb)
 
142
                raise exc_value
149
143
 
150
144
    def pending_exception(self):
151
145
        """Raise the caught exception.