contrib/win32/postinstall.txt
author Gregory Szorc <gregory.szorc@gmail.com>
Fri, 19 Oct 2018 12:30:49 +0200
changeset 40393 229d23cdb203
parent 26421 4b0fc75f9403
permissions -rw-r--r--
exchangev2: support fetching shallow files history This commit teaches the exchangev2 client code to handle fetching shallow files data. Only shallow fetching of files data is supported: shallow fetching of changeset and manifest data is explicitly not yet supported. Previously, we would fetch file revisions for changesets that were received by the current pull operation. In the new model, we calculate the set of "relevant" changesets given the pull depth and only fetch files data for those changesets. We also teach the "filesdata" command invocation to vary parameters as needed. The implementation here is far from complete or optimal. Subsequent pulls will end up re-fetching a lot of files data. But the application of this data should mostly be a no-op on the client, so it isn't a big deal. Depending on the order file revisions are fetched in, revisions could get inserted with the wrong revision number relationships. I think the best way to deal with this is to remove revision numbers from storage and to either dynamically derive them (by reconstructing a DAG from nodes/parents) or remove revision numbers from the file storage interface completely. A missing API that we'll likely want to write pretty soon is "ensure files for revision(s) are present." We can kind of cajole exchangev2.pull() to do this. But it isn't very efficient. For example, in simple cases like widening the store to obtain data for a single revision, it is probably more efficient to walk the manifest and find exactly which file revisions are missing and to make explicit requests for just their data. In more advanced cases, asking the server for all files data may be more efficient, even though it requires sending data the client already has. There is tons of room for future experimentation here. And TBH I'm not sure what the final state will be. Anyway, this commit gets us pretty close to being able to have shallow and narrow checkouts with exchangev2/sqlite storage. Close enough that a minimal extension should be able to provide fill in the gaps until the code in core stabilizes and there is a user-facing way to trigger the narrow/shallow bits from `hg clone` without also implying using of the narrow extension... Differential Revision: https://phab.mercurial-scm.org/D5169
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