Merge branch 'stable-2.13' into stable-2.14
* stable-2.13: Clarify documentation for accountPatchReviewDb.url Remove unneeded output in MigrateAccountPatchReviewDb Change-Id: Ic64d2cbd158b2b88961c48d2d6b35752553335e2
This commit is contained in:
@@ -31,8 +31,8 @@ driver of the corresponding Database is not yet in the class path.
|
||||
Default is to create H2 database in the db folder of the site path.
|
||||
+
|
||||
Changing this parameter requires to migrate database using the
|
||||
link:pgm-MigrateAccountPatchReviewDb.html[MigrateAccountPatchReviewDb program]
|
||||
before restarting the Gerrit server.
|
||||
link:pgm-MigrateAccountPatchReviewDb.html[MigrateAccountPatchReviewDb] program.
|
||||
Migration cannot be done while the server is running.
|
||||
|
||||
----
|
||||
[accountPatchReviewDb]
|
||||
|
||||
@@ -50,7 +50,6 @@ public class MigrateAccountPatchReviewDb extends SiteProgram {
|
||||
SitePaths sitePaths = new SitePaths(getSitePath());
|
||||
Config fakeCfg = new Config();
|
||||
if (!Strings.isNullOrEmpty(sourceUrl)) {
|
||||
System.out.println("source Url (custom): " + sourceUrl);
|
||||
fakeCfg.setString("accountPatchReviewDb", null, "url", sourceUrl);
|
||||
}
|
||||
JdbcAccountPatchReviewStore sourceJdbcAccountPatchReviewStore =
|
||||
|
||||
Reference in New Issue
Block a user