hg commit didn't work for me first time. Added how to fix that (on Linux).

user: Andy Waddington on Loser <expo@pennine.ddns.me.uk>
branch 'expoweb'
changed handbook/update.htm to note need for ~/.hgrc
This commit is contained in:
Andy Waddington on Loser 2014-07-02 09:16:10 +01:00
parent 04635ef207
commit e79db355e2

View File

@ -136,9 +136,13 @@ then restart nautilus (<tt>nautilus -q</tt>). If it works, you'll be able to see
<p><tt>hg commit</tt> (you can specify filenames to be specific)</p>
<p>or right clicking on the folder and going to commit in TortoiseSVN.</p>
<p>or right clicking on the folder and going to commit in TortoiseHG. Mercurial can't always work out who you are. If you see a message like "abort: no username supplied" it was probably not set up to deduce that from your environment. It's easiest to give it the info in a config file at ~/.hgrc (create it if it doesn't exist, or add these lines if it already does) containing something like</p>
<p>That has stored the changes in your local mercurial DVCS, but it has not sent anything back to the server. To do that you need to:</p>
<p><tt>
[ui]<br/>username = Firstname Lastname &lt;myemail@example.com&gt;
</tt></p>
<p>The commit has stored the changes in your local mercurial DVCS, but it has not sent anything back to the server. To do that you need to:</p>
<p><tt>hg push</tt></p>