Commit 0b6a487e authored by Georges Racinet's avatar Georges Racinet 🌳
Browse files

wiki backups: avoid showing of main project config

Because `disk_path` doesn't have the `.git` extension,
the removed `.ext()` would have been called on paths such
as `my_project.wiki`, returning `my_project.hg` instead of
the expected `my_project.wiki.hg`.

--HG--
branch : heptapod
parent c4c068132cc9
......@@ -236,7 +236,7 @@ def custom_hooks_tar(project)
end
def path_to_hg_tars(project, dir = nil)
path = File.join(backup_repos_path, project.disk_path.ext('.hg'))
path = File.join(backup_repos_path, project.disk_path + '.hg')
if dir
File.join(path, "#{dir}.tar")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment