OCaml Forge

Detail: [#1037] Developer URL for HG repositories is not working

Bugs: Browse | Download .csv | Monitor

[#1037] Developer URL for HG repositories is not working

Date:
2011-09-21 15:57
Priority:
3
State:
Open
Submitted by:
Jonathan Derque (jonathand)
Assigned to:
Nobody (None)
Host:
None
Forwarded Upstream:
None
Summary:
Developer URL for HG repositories is not working

Detailed description
The url displayed in "Developer Mercurial Access via SSH" does not work correctly:

$ hg -v clone ssh://jonathand@forge.ocamlcore.org/var/lib/gforge/chroot/scmrepos/hg/postgresql/ .
running ssh jonathand@forge.ocamlcore.org "hg -R var/lib/gforge/chroot/scmrepos/hg/postgresql/ serve --stdio"
remote: abort: There is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!

$ hg clone ssh://jonathand@forge.ocamlcore.org//var/lib/gforge/chroot/scmrepos/hg/postgresql/ .
abort: destination '.' is not empty


In order to fix the url you should:
* double the slash after the "forge.ocamlcore.org" part
* specify the project id as the destination directory instead of '.'

In extenso:
hg clone ssh://jonathand@forge.ocamlcore.org//var/lib/gforge/chroot/scmrepos/hg/postgresql/ postgresql

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item