~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-10 06:07:16 UTC
  • Revision ID: mbp@sourcefrog.net-20050510060716-0f939ce3ddea5d15
- New command update-stat-cache for testing
- work-cache always stored with unix newlines and in ascii

Show diffs side-by-side

added added

removed removed

Lines of Context:
798
798
        help.help(topic)
799
799
 
800
800
 
 
801
class cmd_update_stat_cache(Command):
 
802
    """Update stat-cache mapping inodes to SHA-1 hashes.
 
803
 
 
804
    For testing only."""
 
805
    hidden = True
 
806
    def run(self):
 
807
        import statcache
 
808
        b = Branch('.')
 
809
        inv = b.read_working_inventory()
 
810
        statcache.update_cache(b, inv)
 
811
 
 
812
 
801
813
######################################################################
802
814
# main routine
803
815