~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-11 06:12:44 UTC
  • Revision ID: mbp@sourcefrog.net-20050511061244-b0eed343857f10d3
- remove dead code for cmd_compare_trees
- compare_trees new parameter want_unchanged to avoid allocating
  strings if not needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
897
897
        statcache.update_cache(b.base, b.read_working_inventory())
898
898
 
899
899
 
900
 
class cmd_compare_trees(Command):
901
 
    """Show quick calculation of status."""
902
 
    hidden = True
903
 
    def run(self):
904
 
        import diff
905
 
        b = Branch('.')
906
 
        delta = diff.compare_trees(b.basis_tree(), b.working_tree())
907
 
        delta.show(sys.stdout, False)
908
 
 
909
 
 
910
900
######################################################################
911
901
# main routine
912
902