[Bug 3746] New: zeroconf extension advertises wrong port number with "hg serve -p 0"
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat Dec 29 11:13:09 CST 2012
http://bz.selenic.com/show_bug.cgi?id=3746
Priority: normal
Bug ID: 3746
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: zeroconf extension advertises wrong port number with
"hg serve -p 0"
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: trost at cloud.rain.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.4.1
Component: Mercurial
Product: Mercurial
As the transcript below shows, the zeroconf extensions uses the port number
supplied on the command line rather than the port actually bound by "hg serve".
$ hg serve -p 0
listening at http://thunder:43195/ (bound to *:43195)
^Z
[1]+ Stopped hg serve -p 0
$ bg
[1]+ hg serve -p 0 &
$ hg paths
default = http://hg.moinmo.in/moin/2.0
zc-thunder-moin-2 = http://192.168.1.101:0/
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list