tag:support.hglabhq.com,2012-10-18:/discussions/problems/375-repository-hg-clone-not-foundcommand-returned-code-255HgLab: Discussion 2013-11-07T15:24:46Ztag:support.hglabhq.com,2012-10-18:Comment/298511902013-11-07T14:55:50Z2013-11-07T14:55:50Zrepository hg clone not found,command returned code 255<div><p>This:<br></p>
<pre>
<code>hg clone http://gqy117@gqy117.cloudapp.net:85/hg/slug1/r1</code>
</pre>
is <em>not</em> a Clone URL, but a full command that you're
supposed to run from the command prompt. Your actual Clone URL is
<code>http://gqy117@gqy117.cloudapp.net:85/hg/slug1/r1</code>.</div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/298511902013-11-07T15:10:12Z2013-11-07T15:10:12Zrepository hg clone not found,command returned code 255<div><p>Hello Anton.</p>
<p>Thanks for the quick replay :)</p>
<p>I have run the command in the server by using cmd.exe</p>
<p>It seems it works in some degree.</p>
<p>And run the following command</p>
<p>cd R1<br>
(echo. && echo [ui]) >> ..hg\hgrc (echo username =
gqy117 ^<<a href="mailto:gqy11@sina.com">gqy11@sina.com</a>^>
&& echo.) >> ..hg\hgrc echo [auth] >>
..hg\hgrc<br>
(echo hglab.prefix = <a href=
"http://gqy117.cloudapp.net:85/hg">http://gqy117.cloudapp.net:85/hg</a>
&& echo hglab.username = gqy117) >> ..hg\hgrc</p>
<p>After that it seems the <strong>Clone Instructions</strong>
still display the same thing as before.</p>
<p>I'm just not sure what should I do next?</p>
<p>Thanks.</p></div>gqy117tag:support.hglabhq.com,2012-10-18:Comment/298511902013-11-07T15:16:29Z2013-11-07T15:16:29Zrepository hg clone not found,command returned code 255<div><p>The second set of commands is entirely optional just writes a
bunch of<br>
stuff to .hg/hgrc, which is a configuration file for your local
Mercurial<br>
repository. It sets up your username, authentication prefix and
other<br>
settings. These commands do not affect Cloning Instructions page in
any<br>
way.</p>
<p>Now that you've successfully cloned a repository, you can start
working<br>
with it as usual: committing, viewing logs, diffing, pulling,
pushing, etc.<br>
If you're new to Mercurial, here's an excellent tutorial to get
you<br>
started: <a href="http://hginit.com/">http://hginit.com/</a> .</p></div>Anton Gogolevtag:support.hglabhq.com,2012-10-18:Comment/298511902013-11-07T15:20:16Z2013-11-07T15:20:16Zrepository hg clone not found,command returned code 255<div><p>Oh ,I've figured it out.</p>
<p>I should run this command in the client side,using cmd.exe</p>
<p>Thank you for your kindly help!</p></div>gqy117tag:support.hglabhq.com,2012-10-18:Comment/298511902013-11-07T15:24:45Z2013-11-07T15:24:45Zrepository hg clone not found,command returned code 255<div><p>Glad I could help! If you need further assistance, feel free to
contact me.</p></div>Anton Gogolev