This instance will be upgraded to Heptapod 0.25.0 (final) on 2021-09-22 at 15:00 UTC+2 (a few minutes of down time)

Commit a1daa8c6 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Bitbucket Wikis import: fixing Mercurial URL

The previous regexp was *expecting* the main repo URL to end with
'.git', so the '/wiki' would be missing in the case of Mercurial.

branch : heptapod
parent 0c4bdb3da03e
......@@ -18,7 +18,7 @@ def full_path
def import_url
project.import_url.sub(/\.git\z/, ".git/wiki")
project.import_url.sub(/(\.git)?\z/, '\1/wiki')
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