Mercurial > jhg
comparison design.txt @ 64:19e9e220bf68
Convenient commands constitute hi-level API. org.tmatesoft namespace, GPL2 statement
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 21 Jan 2011 05:56:43 +0100 |
parents | fac8e7fcc8b0 |
children | c25c5c348d1b |
comparison
equal
deleted
inserted
replaced
63:a47530a2ea12 | 64:19e9e220bf68 |
---|---|
47 | 47 |
48 ??? encodings of fncache, .hgignore, dirstate | 48 ??? encodings of fncache, .hgignore, dirstate |
49 ??? http://mercurial.selenic.com/wiki/Manifest says "Multiple changesets may refer to the same manifest revision". To me, each changeset | 49 ??? http://mercurial.selenic.com/wiki/Manifest says "Multiple changesets may refer to the same manifest revision". To me, each changeset |
50 changes repository, hence manifest should update nodeids of the files it lists, effectively creating new manifest revision. | 50 changes repository, hence manifest should update nodeids of the files it lists, effectively creating new manifest revision. |
51 | 51 |
52 ? hg status, compare revision and local file with kw expansion and eol extension | |
53 ? subrepos in log, status (-S) and manifest commands | |
54 | |
55 Commands to get CommandContext where they may share various caches (e.g. StatusCollector) | |
56 | |
52 >>>> Effective file read/data access | 57 >>>> Effective file read/data access |
53 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1) | 58 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1) |
54 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data. | 59 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data. |
55 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence) | 60 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence) |
56 and allows buffer management (i.e. reuse. Single buffer for all reads). | 61 and allows buffer management (i.e. reuse. Single buffer for all reads). |