Mercurial > jhg
comparison design.txt @ 209:9ce3b26798c4
Few branches (distinct BranchChains from distinct heads) may end up with same nodes. Building BC structure fixed to reuse chain elements
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 28 Apr 2011 03:44:45 +0200 |
| parents | ffc5f6d59f7e |
| children | 2fadf8695f8a |
comparison
equal
deleted
inserted
replaced
| 208:ef8eba4aa215 | 209:9ce3b26798c4 |
|---|---|
| 65 Commands to get CommandContext where they may share various caches (e.g. StatusCollector) | 65 Commands to get CommandContext where they may share various caches (e.g. StatusCollector) |
| 66 Perhaps, abstract classes for all Inspectors (i.e. StatusCollector.Inspector) for users to use as base classes to protect from change? | 66 Perhaps, abstract classes for all Inspectors (i.e. StatusCollector.Inspector) for users to use as base classes to protect from change? |
| 67 | 67 |
| 68 -cancellation and progress support | 68 -cancellation and progress support |
| 69 -timestamp check for revlog to recognize external changes | 69 -timestamp check for revlog to recognize external changes |
| 70 -HgDate or any other better access to time info | |
| 71 -(low) RepositoryComparator#calculateMissingBranches may query branches for the same head more than once | |
| 72 (when there are few heads that end up with common nodes). e.g hg4j revision 7 against remote hg4j revision 206 | |
| 70 | 73 |
| 71 >>>> Effective file read/data access | 74 >>>> Effective file read/data access |
| 72 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1) | 75 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1) |
| 73 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data. | 76 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data. |
| 74 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence) | 77 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence) |
