Mercurial 1.2: "hg -R /home/hg/rep serve --stdio" doesn't work?under cygwin
Pierre Asselin
pa at panix.com
Fri Mar 20 19:59:20 CDT 2009
Peter Rigole <peter.rigole at qmino.com> wrote:
> I installed the latest Mercurial 1.2 release for Windows on a Windows Server
> 2008 in combination with cygwin and openssh. Ssh runs smoothly, but I can't
> get it to collaborate with Mercurial. When making a clone from a remote
> machine using "ssh://hg@mymachine//home/hg/rep" I always get: "There is no
> Mercurial repository here (.hg not found)!".
> [ ... ]
> but when I do:
> > hg -R /home/hg/rep serve --stdio
> I get: There is no Mercurial repository here (.hg not found)!
> While /home/hg/rep does contain a .hg folder, and it is basically the same
> folder as when I did "hg -R . serve --stdio". Obviously if I call the clone
> operation from my remote machine over ssh I get the same error.
Maybe the hg is native to Windows and it doesn't understand the
cygwin path. Cygwin has a utility to convert paths. Try something
like this:
hg -R $(cygpath --windows /home/hg/rep ) serve --stdio
--
pa at panix dot com
More information about the Mercurial
mailing list