Changeset - 968b28545f93
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-02-08 19:08:52
marcin@python-works.com
fixed description of update-repoinfo command
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/update_repoinfo.py
Show inline comments
 
@@ -43,25 +43,25 @@ sys.path.append(dn(dn(dn(os.path.realpat
 

	
 
from rhodecode.lib.utils import BasePasterCommand, Command, add_cache
 

	
 
log = logging.getLogger(__name__)
 

	
 

	
 
class UpdateCommand(BasePasterCommand):
 

	
 
    max_args = 1
 
    min_args = 1
 

	
 
    usage = "CONFIG_FILE"
 
    summary = "Cleanup deleted repos"
 
    summary = "Updates repositories caches for last changeset"
 
    group_name = "RhodeCode"
 
    takes_config_file = -1
 
    parser = Command.standard_parser(verbose=True)
 

	
 
    def command(self):
 
        logging.config.fileConfig(self.path_to_ini_file)
 
        from pylons import config
 

	
 
        #get to remove repos !!
 
        add_cache(config)
 
        engine = engine_from_config(config, 'sqlalchemy.db1.')
 
        init_model(engine)
0 comments (0 inline, 0 general)