/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/remote.py

  • Committer: Matt Nordhoff
  • Date: 2009-04-04 02:57:47 UTC
  • mto: This revision was merged to the branch mainline in revision 4256.
  • Revision ID: mnordhoff@mattnordhoff.com-20090404025747-flrhy5yekygcdrda
Review tweaks from Ben Finney

Show diffs side-by-side

added added

removed removed

Lines of Context:
626
626
    def abort_write_group(self, suppress_errors=False):
627
627
        """Complete a write group on the decorated repository.
628
628
 
629
 
        Smart methods perform operations in a single step so this api
 
629
        Smart methods perform operations in a single step so this API
630
630
        is not really applicable except as a compatibility thunk
631
631
        for older plugins that don't use e.g. the CommitBuilder
632
632
        facility.
640
640
    def commit_write_group(self):
641
641
        """Complete a write group on the decorated repository.
642
642
 
643
 
        Smart methods perform operations in a single step so this api
 
643
        Smart methods perform operations in a single step so this API
644
644
        is not really applicable except as a compatibility thunk
645
645
        for older plugins that don't use e.g. the CommitBuilder
646
646
        facility.
949
949
    def start_write_group(self):
950
950
        """Start a write group on the decorated repository.
951
951
 
952
 
        Smart methods perform operations in a single step so this api
 
952
        Smart methods perform operations in a single step so this API
953
953
        is not really applicable except as a compatibility thunk
954
954
        for older plugins that don't use e.g. the CommitBuilder
955
955
        facility.
1223
1223
            # in one go, and the user probably will have seen a warning about
1224
1224
            # the server being old anyhow.
1225
1225
            rg = self._get_revision_graph(None)
1226
 
            # There is an api discrepancy between get_parent_map and
 
1226
            # There is an API discrepancy between get_parent_map and
1227
1227
            # get_revision_graph. Specifically, a "key:()" pair in
1228
1228
            # get_revision_graph just means a node has no parents. For
1229
1229
            # "get_parent_map" it means the node is a ghost. So fix up the
1913
1913
            self._real_branch.repository = self.repository
1914
1914
        else:
1915
1915
            self._real_branch = None
1916
 
        # Fill out expected attributes of branch for bzrlib api users.
 
1916
        # Fill out expected attributes of branch for bzrlib API users.
1917
1917
        self.base = self.bzrdir.root_transport.base
1918
1918
        self._control_files = None
1919
1919
        self._lock_mode = None