diff options
author | Michael van Rooijen <meskyanichi@gmail.com> | 2012-07-22 14:48:23 +0200 |
---|---|---|
committer | Michael van Rooijen <meskyanichi@gmail.com> | 2012-07-26 21:30:10 +0200 |
commit | ec01cbef9452dcbe7a09f1709370a7939f66c542 (patch) | |
tree | 148a9ea36ccf99c0c987360fcffc6c7763b72a1e /app/models/commit.rb | |
parent | 8b7e404b5b6944e9c92cc270b2e5d0005781d49d (diff) | |
download | gitlab-ce-ec01cbef9452dcbe7a09f1709370a7939f66c542.tar.gz |
Modified the `repo_dump` and `repo_restore` rake tasks to properly dump and restore repositories based on their `path` rather than their (project) `name`. The project name can be uppercase and may contain spaces. This caused the repository to be restored as a different `path` that it was initially created as, thus, breaking the `git remote` and the web interface can no longer detect the repository either because it searches by `path` and not by `name`. Also, when restoring the permissions are incorrect making it impossible to push new commits to the remote repository. So now on success it'll set the correct permissions (but requires that the `gitlab` user has `sudo` privileges, or this task must be executed as root).
Diffstat (limited to 'app/models/commit.rb')
0 files changed, 0 insertions, 0 deletions