On Apr 23, 2010, at 8:59 PM, Niall Creedon wrote: > C:\work\mercurial\repo>hg serve -port 8002 > ValueError: invalid literal for int() with base 10: 'ort' Well, it should probably fail gracefully. However, in the mean time, you could use --port so it will stop trying to open port "ort" since you're passing "-p ort" and not "--port".