~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconcile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-19 09:19:47 UTC
  • mfrom: (5891.1.2 api-docs)
  • Revision ID: pqm@pqm.ubuntu.com-20110519091947-5u0csgddxucufsrm
(spiv) Update 'api-docs' make target to use pydoctor,
 and fix the formatting of many docstrings. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        """Perform reconciliation.
65
65
 
66
66
        After reconciliation the following attributes document found issues:
67
 
        inconsistent_parents: The number of revisions in the repository whose
68
 
                              ancestry was being reported incorrectly.
69
 
        garbage_inventories: The number of inventory objects without revisions
70
 
                             that were garbage collected.
71
 
        fixed_branch_history: None if there was no branch, False if the branch
72
 
                              history was correct, True if the branch history
73
 
                              needed to be re-normalized.
 
67
 
 
68
        * `inconsistent_parents`: The number of revisions in the repository
 
69
          whose ancestry was being reported incorrectly.
 
70
        * `garbage_inventories`: The number of inventory objects without
 
71
          revisions that were garbage collected.
 
72
        * `fixed_branch_history`: None if there was no branch, False if the
 
73
          branch history was correct, True if the branch history needed to be
 
74
          re-normalized.
74
75
        """
75
76
        self.pb = ui.ui_factory.nested_progress_bar()
76
77
        try:
196
197
        """Perform reconciliation.
197
198
 
198
199
        After reconciliation the following attributes document found issues:
199
 
        inconsistent_parents: The number of revisions in the repository whose
200
 
                              ancestry was being reported incorrectly.
201
 
        garbage_inventories: The number of inventory objects without revisions
202
 
                             that were garbage collected.
 
200
 
 
201
        * `inconsistent_parents`: The number of revisions in the repository
 
202
          whose ancestry was being reported incorrectly.
 
203
        * `garbage_inventories`: The number of inventory objects without
 
204
          revisions that were garbage collected.
203
205
        """
204
206
        operation = cleanup.OperationWithCleanups(self._reconcile)
205
207
        self.add_cleanup = operation.add_cleanup