~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-07-08 06:54:58 UTC
  • Revision ID: mbp@sourcefrog.net-20050708065458-2af06c3659faf1d8
- use new path-based hashcache for WorkingTree- squash mtime/ctime to whole seconds- update and if necessary write out hashcache when WorkingTree object is   created.

Show diffs side-by-side

added added

removed removed

Lines of Context:
770
770
    """List files modified in working tree."""
771
771
    hidden = True
772
772
    def run(self):
773
 
        from bzrlib.statcache import update_cache, SC_SHA1
774
773
        from bzrlib.diff import compare_trees
775
774
 
776
775
        b = find_branch('.')
1313
1312
        help.help(topic)
1314
1313
 
1315
1314
 
1316
 
class cmd_update_stat_cache(Command):
1317
 
    """Update stat-cache mapping inodes to SHA-1 hashes.
1318
 
 
1319
 
    For testing only."""
1320
 
    hidden = True
1321
 
    def run(self):
1322
 
        from bzrlib.statcache import update_cache
1323
 
        b = find_branch('.')
1324
 
        update_cache(b.base, b.read_working_inventory())
1325
 
 
1326
1315
 
1327
1316
 
1328
1317
class cmd_plugins(Command):