Skip to content

Commit 848eea5

Browse files
committed
Remove .hg from 'hg clone'
1 parent 23e4485 commit 848eea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/repo/js/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function showHeader(level, content) {
134134
if(content.git) {
135135
command = "git clone $path_to_data/" + address + "/" + content.git;
136136
} else if(content.hg) {
137-
command = "hg clone $path_to_data/" + address + "/" + content.hg;
137+
command = "hg clone $path_to_data/" + address + "/" + content.hg.replace(/\.hg$/, "");
138138
}
139139

140140
if(copy(command)) {

0 commit comments

Comments
 (0)