~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-11-02 10:59:44 UTC
  • mfrom: (2111.2.1 55466)
  • Revision ID: pqm@pqm.ubuntu.com-20061102105944-77e5667ce7540df5
(mpe,mbp) #55466 remove dead scan-cache command

Show diffs side-by-side

added added

removed removed

Lines of Context:
1933
1933
        check(branch, verbose)
1934
1934
 
1935
1935
 
1936
 
class cmd_scan_cache(Command):
1937
 
    hidden = True
1938
 
    def run(self):
1939
 
        from bzrlib.hashcache import HashCache
1940
 
 
1941
 
        c = HashCache(u'.')
1942
 
        c.read()
1943
 
        c.scan()
1944
 
            
1945
 
        print '%6d stats' % c.stat_count
1946
 
        print '%6d in hashcache' % len(c._cache)
1947
 
        print '%6d files removed from cache' % c.removed_count
1948
 
        print '%6d hashes updated' % c.update_count
1949
 
        print '%6d files changed too recently to cache' % c.danger_count
1950
 
 
1951
 
        if c.needs_write:
1952
 
            c.write()
1953
 
 
1954
 
 
1955
1936
class cmd_upgrade(Command):
1956
1937
    """Upgrade branch storage to current format.
1957
1938