~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2007-08-25 15:47:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2905.
  • Revision ID: aaron.bentley@utoronto.ca-20070825154727-2gstd0e1odldnlpz
Fix knit file parents to follow parentage from revision/inventory XML

Show diffs side-by-side

added added

removed removed

Lines of Context:
2329
2329
    def run(self, branch=None, verbose=False):
2330
2330
        from bzrlib.check import check
2331
2331
        if branch is None:
2332
 
            tree = WorkingTree.open_containing()[0]
2333
 
            branch = tree.branch
 
2332
            branch = Branch.open_containing('.')[0]
2334
2333
        else:
2335
2334
            branch = Branch.open(branch)
2336
2335
        check(branch, verbose)