[Bug 3960] New: hg init race on requires file
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri Jun 14 14:13:02 CDT 2013
http://bz.selenic.com/show_bug.cgi?id=3960
Priority: normal
Bug ID: 3960
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hg init race on requires file
Severity: bug
Classification: Unclassified
OS: All
Reporter: mpm at selenic.com
Hardware: All
Status: UNCONFIRMED
Version: 2.6.2
Component: Mercurial
Product: Mercurial
If a client tries to read a repo while hg init is creating it, after
.hg/00changelog.i has been created but before .hg/requires is created, they
will get an error about unknown revlog format.
This error is intended to prevent old clients (before requires was introduced)
from reading a new repo, but backfires here. We should fix the creation order.
See localrepo.__init__ with create=True.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list