Commit 848eea59 authored by Ivanq's avatar Ivanq

Remove .hg from 'hg clone'

parent 23e44855
......@@ -134,7 +134,7 @@ function showHeader(level, content) {
if(content.git) {
command = "git clone $path_to_data/" + address + "/" + content.git;
} else if(content.hg) {
command = "hg clone $path_to_data/" + address + "/" + content.hg;
command = "hg clone $path_to_data/" + address + "/" + content.hg.replace(/\.hg$/, "");
}
if(copy(command)) {
......
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