[MERGE] Default port for bzr:// (bug 86897)

Andrew Bennetts andrew at canonical.com
Tue Feb 27 07:19:06 GMT 2007


James Henstridge wrote:
[...]
> 
> I know it won't have any effect til distributions pick up the new
> service names, but do you think it'd be worth using the result of
> socket.getservbyname('bzr', 'tcp') in preference to
> BZR_DEFAULT_SERVE_PORT?

I can't really think of any advantage to this.  It's a well known port number,
it's not likely to change, and it's not likely to vary on different systems
either.  So I can't see any reason involve dependencies when a simple constant
will do.

-Andrew.




More information about the bazaar mailing list