1. Matteo Bertini
  2. RhodeCode

Commits

Matteo Bertini  committed 32af547

Fix #394: repo path is made absolute right after user input

  • Participants
  • Parent commits 8fd6650
  • Branches default

Comments (0)

Files changed (1)

File rhodecode/lib/db_manage.py

View file
  • Ignore whitespace
 import sys
 import uuid
 import logging
+import os.path
 from os.path import dirname as dn, join as jn
 
 from rhodecode import __dbversion__
                  'Enter a valid path to store repositories. '
                  'All repositories in that path will be added automatically:'
             )
+            path = os.path.abspath(os.path.expanduser(path))
         else:
             path = test_repo_path
         path_ok = True