Commit

r3505:c75dd264 public

Description:

upgrade: fixed old style rc upgrade sometimes used with a very old installer.

Commit status:

[Not Reviewed]

References:

Comments:

0 Commit comments 0 Inline Comments

Unresolved TODOs:

There are no unresolved TODOs

Author

-
Add another comment

r3505:c75dd264c5f7 -

@@ -26,7 +26,8
26
26
27
27
28 class UpgradeDb(BasePasterCommand):
28 class UpgradeDb(BasePasterCommand):
29 """Command used for paster to upgrade our database to newer version
29 """
30 Command used for paster to upgrade our database to newer version
30 """
31 """
31
32
32 max_args = 1
33 max_args = 1
@@ -41,7 +42,7
41 def command(self):
42 def command(self):
42 from rhodecode.lib.rc_commands import upgrade_db
43 from rhodecode.lib.rc_commands import upgrade_db
43 upgrade_db.command(
44 upgrade_db.command(
44 self.path_to_ini_file, self.options.__dict__.get('force_ask'))
45 self.path_to_ini_file, self.options.__dict__.get('force_ask'), None)
45
46
46 def update_parser(self):
47 def update_parser(self):
47 self.parser.add_option('--sql',
48 self.parser.add_option('--sql',
You need to be logged in to leave comments. Login now