Unknown exception from "hg serve"

Faheem Mitha faheem at email.unc.edu
Sat Apr 24 05:26:17 CDT 2010


Tip of http://selenic.com/hg/ gives

faheem at orwell[default branch:rev 10975]:/usr/local/src/mercurial/hg$ ./hg serve -port 8002
hg serve: invalid arguments

Still, this error message could be better.

                                   Faheem.

On Fri, 23 Apr 2010 17:59:09 -0700, Niall Creedon <niall.creedon at gmail.com> wrote:
> Found this today at work, duplicated at home.  Both systems run Win XP 
> SP3.  Both systems using Mercurial 1.5.1 (no TortoiseHG).  Work system 
> doesn't have Python installed, home has 3.1.2.
>
> C:\work\mercurial>hg init repo
>
> C:\work\mercurial>cd repo
>
> C:\work\mercurial\repo>hg serve -port 8002
> ** unknown exception encountered, details follow
> ** report bug details to http://mercurial.selenic.com/bts/
> ** or mercurial at selenic.com
> ** Mercurial Distributed SCM (version 1.5.1)
> ** Extensions loaded:
> Traceback (most recent call last):
>    File "hg", line 27, in <module>
>    File "mercurial\dispatch.pyc", line 16, in run
>    File "mercurial\dispatch.pyc", line 30, in dispatch
>    File "mercurial\dispatch.pyc", line 47, in _runcatch
>    File "mercurial\dispatch.pyc", line 399, in _dispatch
>    File "mercurial\dispatch.pyc", line 278, in _parse
>    File "mercurial\fancyopts.pyc", line 103, in fancyopts
> ValueError: invalid literal for int() with base 10: 'ort'
>



More information about the Mercurial mailing list