[PATCH 2 of 3] chg: start server at a unique address

timeless timeless at gmail.com
Sun Dec 18 23:52:05 EST 2016

Jun Wu wrote:
> Pid namespace breaks mercurial lock, which is a symlink with the content
> "host:pid".

Would adjusting the format to:
host:pid:starttime:boottime fix this?

Sadly, it seems like process start time is actually stored as jiffies
since system boot on Linux, and NTP can make canonicalizing that value
/somewhat/ flaky [1]. Hopefully, there'd be some way to make this work

[1] http://linuxcommando.blogspot.ca/2008/09/how-to-get-process-start-date-and-time.html

More information about the Mercurial-devel mailing list