Mercurial > kallithea
changeset 843:3b21ba5f7cb0 beta
fixed path issues in upgrade script
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 12 Dec 2010 03:11:59 +0100 |
parents | d388a941b022 |
children | 62a9c5aeb5ec |
files | rhodecode/lib/db_manage.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/db_manage.py Sat Dec 11 23:08:04 2010 +0100 +++ b/rhodecode/lib/db_manage.py Sun Dec 12 03:11:59 2010 +0100 @@ -118,7 +118,8 @@ if not upgrade: sys.exit('Nothing done') - repository_path = 'rhodecode/lib/dbmigrate' + repository_path = jn(dn(dn(dn(os.path.realpath(__file__)))), + 'rhodecode/lib/dbmigrate') db_uri = self.dburi try: