/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/status.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
 
21
19
from . import (
139
137
            try:
140
138
                old = revision[0].as_tree(wt.branch)
141
139
            except errors.NoSuchRevision as e:
142
 
                raise errors.BzrCommandError(str(e))
 
140
                raise errors.CommandError(str(e))
143
141
            if (len(revision) > 1) and (revision[1].spec is not None):
144
142
                try:
145
143
                    new = revision[1].as_tree(wt.branch)
146
144
                    new_is_working_tree = False
147
145
                except errors.NoSuchRevision as e:
148
 
                    raise errors.BzrCommandError(str(e))
 
146
                    raise errors.CommandError(str(e))
149
147
            else:
150
148
                new = wt
151
149
        with old.lock_read(), new.lock_read():