comparison design.txt @ 205:ffc5f6d59f7e

HgLogCommand.Handler is used in few places, pull up to top-level class, HgChangesetHandler
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 28 Apr 2011 02:00:42 +0200
parents 706bcc7cfee4
children 9ce3b26798c4
comparison
equal deleted inserted replaced
204:883f1efbcf27 205:ffc5f6d59f7e
63 ? when p1 == -1, and p2 != -1, does HgStatusCollector.change() give correct result? 63 ? when p1 == -1, and p2 != -1, does HgStatusCollector.change() give correct result?
64 64
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
69 -timestamp check for revlog to recognize external changes
70
68 >>>> Effective file read/data access 71 >>>> Effective file read/data access
69 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1) 72 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1)
70 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data. 73 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data.
71 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence) 74 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence)
72 and allows buffer management (i.e. reuse. Single buffer for all reads). 75 and allows buffer management (i.e. reuse. Single buffer for all reads).