Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists News SCM Files Mediawiki Hudson/Jenkins

[#452] error with repo path of scmhg

Date:
2012-06-25 10:28
Priority:
3
State:
Closed
Submitted by:
Coiby Xu (coiby)
Assigned to:
Franck Villaume (nerville)
Target Release:
5.3
Found in Version:
none
Severity:
enhancement
Resolution:
none
Summary:
error with repo path of scmhg

Detailed description
$b .= '<p><tt>hg clone ssh://'.$d.'@' . $this->getBoxForProject($project) . '/'forge_get_config('repos_path', 'scmhg') .'/'. $project->getUnixName().'/ .</tt></p>' ;
should be
$b .= '<p><tt>hg clone ssh://'.$d.'@' . $this->getBoxForProject($project) . '/' . forge_get_config('repos_path', 'scmhg') .'/'. $project->getUnixName().'/ .</tt></p>' ;

i.e the path should be ssh://username@url//repo_path instead of ssh://username@url/repo_path.
Message  ↓
Date: 2012-06-26 06:24
Sender: Coiby Xu

Hi, Franck. I find there's error with your fix. If you check "/" of boxforproject. You needn't add a "/" after that which make it triple "///".

Date: 2012-06-26 01:27
Sender: Coiby Xu

Yes. I forgot to input "Target Release" and other things. So just re-post it again. Thanks! I'll try.

Date: 2012-06-25 22:25
Sender: Franck Villaume

is this bug duplicate with #453 ?
anyway, I add more check just to be sure we have double '/' in trunk
r15821

Field Old Value Date By
status_idOpen2012-06-25 22:26nerville
close_dateNone2012-06-25 22:26nerville
assigned_tonone2012-06-25 22:26nerville
Target ReleaseNone2012-06-25 22:26nerville
SeverityNone2012-06-25 22:26nerville