/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/tests/test_foreign.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:
171
171
    def is_compatible(source, target):
172
172
        return isinstance(target, DummyForeignVcsBranch)
173
173
 
174
 
    def push(self, overwrite=False, stop_revision=None, lossy=False):
 
174
    def push(self, overwrite=False, stop_revision=None, lossy=False, tag_selector=None):
175
175
        if not lossy:
176
176
            raise errors.NoRoundtrippingSupport(self.source, self.target)
177
177
        result = branch.BranchPushResult()
205
205
                    parent_revids = []
206
206
                else:
207
207
                    parent_revids = [parent_revid]
208
 
                builder = self.target.get_commit_builder(parent_revids,
209
 
                                                         self.target.get_config_stack(), rev.timestamp,
210
 
                                                         rev.timezone, rev.committer, rev.properties,
211
 
                                                         new_revid)
 
208
                builder = self.target.get_commit_builder(
 
209
                    parent_revids, self.target.get_config_stack(), rev.timestamp,
 
210
                    rev.timezone, rev.committer, rev.properties,
 
211
                    new_revid)
212
212
                try:
213
213
                    parent_tree = self.target.repository.revision_tree(
214
214
                        parent_revid)