From dd2c44a463ac7dd006f5ab6bea2cac13df269509 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Thu, 14 Aug 2014 01:50:03 +0400 Subject: [PATCH] Corrections to the project renaming guide Change-Id: I4ac59ff8e3ddc3f024115cf27f43207e76b43e04 --- doc/source/gerrit.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst index 1c00f1a1d0..13daecda2d 100644 --- a/doc/source/gerrit.rst +++ b/doc/source/gerrit.rst @@ -428,7 +428,7 @@ To rename a project: #. Update the database on review.openstack.org:: - sudo mysql --defaults-file=/etc/mysql/debian.cnf reviewdb + sudo -H mysql reviewdb update account_project_watches set project_name = "openstack/NEW" @@ -450,7 +450,7 @@ To rename a project: cp -ax review_site/index index.backup.`date +%s` java -jar review_site/bin/gerrit.war reindex -d /home/gerrit2/review_site -#. Move the git repository on git{01-04}.openstack.org:: +#. Move the git repository on git{01-05}.openstack.org:: sudo mv /var/lib/git/openstack/{OLD,NEW}.git