~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/reconcile.py

  • Committer: Wouter van Heyst
  • Date: 2006-06-07 16:05:27 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: larstiq@larstiq.dyndns.org-20060607160527-2b3649154d0e2e84
more code cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006 Canonical Ltd
 
1
# (C) 2005, 2006 Canonical Limited.
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
20
20
__all__ = ['reconcile', 'Reconciler', 'RepoReconciler', 'KnitReconciler']
21
21
 
22
22
 
23
 
from bzrlib import ui
 
23
import bzrlib.branch
 
24
import bzrlib.errors as errors
 
25
import bzrlib.progress
24
26
from bzrlib.trace import mutter
25
27
from bzrlib.tsort import TopoSorter
 
28
import bzrlib.ui as ui
26
29
 
27
30
 
28
31
def reconcile(dir, other=None):
219
222
    def _parents_are_inconsistent(self, rev_id, parents):
220
223
        """Return True if the parents list of rev_id does not match the weave.
221
224
 
222
 
        This detects inconsistencies based on the self.thorough value:
 
225
        This detect inconsistences based on the self.thorough value:
223
226
        if thorough is on, the first parent value is checked as well as ghost
224
227
        differences.
225
228
        Otherwise only the ghost differences are evaluated.