/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 bzrlib/versionedfile.py

  • Committer: Aaron Bentley
  • Date: 2006-06-15 20:20:48 UTC
  • mfrom: (1776 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1788.
  • Revision ID: abentley@panoramicfeedback.com-20060615202048-fcee4d87e363a002
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
        
296
296
        Ghosts are not listed or referenced in the graph.
297
297
        :param version_ids: Versions to select.
298
 
                            None means retreive all versions.
 
298
                            None means retrieve all versions.
299
299
        """
300
300
        result = {}
301
301
        if version_ids is None:
396
396
        specific version marker at this point. The api may be changed
397
397
        during development to include the version that the versioned file
398
398
        thinks is relevant, but given that such hints are just guesses,
399
 
        its better not to have it if we dont need it.
 
399
        its better not to have it if we don't need it.
400
400
 
401
401
        NOTES: Lines are normalised: they will all have \n terminators.
402
402
               Lines are returned in arbitrary order.
491
491
       
492
492
        # We previously considered either 'unchanged' or 'killed-both' lines
493
493
        # to be possible places to resynchronize.  However, assuming agreement
494
 
        # on killed-both lines may be too agressive. -- mbp 20060324
 
494
        # on killed-both lines may be too aggressive. -- mbp 20060324
495
495
        for state, line in self.plan:
496
496
            if state == 'unchanged':
497
497
                # resync and flush queued conflicts changes if any
646
646
class InterVersionedFileTestProviderAdapter(object):
647
647
    """A tool to generate a suite testing multiple inter versioned-file classes.
648
648
 
649
 
    This is done by copying the test once for each interversionedfile provider
 
649
    This is done by copying the test once for each InterVersionedFile provider
650
650
    and injecting the transport_server, transport_readonly_server,
651
651
    versionedfile_factory and versionedfile_factory_to classes into each copy.
652
652
    Each copy is also given a new id() to make it easy to identify.