##// END OF EJS Templates
admin settings: show numbers in rescan flash message instead of python lists
Mads Kiilerich -
r3142:1e7839c0 beta
parent child Browse files
Show More
@@ -121,8 +121,9 class SettingsController(BaseController)
121 added, removed = repo2db_mapper(initial, rm_obsolete)
121 added, removed = repo2db_mapper(initial, rm_obsolete)
122
122
123 h.flash(_('Repositories successfully'
123 h.flash(_('Repositories successfully'
124 ' rescanned added: %s,removed: %s') % (added, removed),
124 ' rescanned added: %s, removed: %s') %
125 category='success')
125 (len(added), len(removed)),
126 category='success')
126
127
127 if setting_id == 'whoosh':
128 if setting_id == 'whoosh':
128 repo_location = self._get_hg_ui_settings()['paths_root_path']
129 repo_location = self._get_hg_ui_settings()['paths_root_path']
General Comments 0
You need to be logged in to leave comments. Login now