contrib/win32/postinstall.txt
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Wed, 09 Dec 2015 08:28:53 +0900
changeset 27291 a18328aad48c
parent 26421 4b0fc75f9403
permissions -rw-r--r--
commit: make commit acquire store lock before processing for consistency If acquisition of wlock waits for another "hg commit" process to release it, dirstate will refer newly committed revision after acquisition of wlock. At that time, '00changelog.i' on the filesystem contains this new revision, but in-memory 'repo.changelog' doesn't, if it is cached without store lock (slock) before updating by another "hg commit". This makes validating parents at re-loading 'repo.dirstate' from '.hg/dirstate' replace such new revision with 'nullid'. Then, 'localrepository.commit()' creates "orphan" revision (see issue4368 for detail). a01d3d32b53a makes 'commands.commit()' acquire both wlock and slock before processing to avoid this issue at "hg commit". But similar issue can occur even after a01d3d32b53a, if 3rd party extension does: - refer 'repo.changelog' outside wlock scope, and - invoke 'repo.commit()' directly (instead of 'commands.commit()') This patch makes 'commit()' acquire slock before processing, to refer recent changelog at validating parents of 'repo.dirstate'.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1289
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     1
Welcome to Mercurial for Windows!
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     2
---------------------------------
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     3
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     4
For configuration and usage directions, please read the ReadMe.html
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     5
file that comes with this package.
8d24d85ff054 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com>
parents:
diff changeset
     6
3863
1ef8ada4370f Remove hard-coded version numbers and release notes from packaging
Matt Mackall <mpm@selenic.com>
parents: 2681
diff changeset
     7
Also check the release notes at:
2276
766c3c852786 Update Windows release notes and install script for v0.9
Lee Cantey <lcantey@gmail.com>
parents: 2216
diff changeset
     8
26421
4b0fc75f9403 urls: bulk-change primary website URLs
Matt Mackall <mpm@selenic.com>
parents: 8936
diff changeset
     9
 https://mercurial-scm.org/wiki/WhatsNew