comparison design.txt @ 15:865bf07f381f

Basic hgignore handling
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 27 Dec 2010 00:50:02 +0100
parents 442dc6ee647b
children 254078595653
comparison
equal deleted inserted replaced
14:442dc6ee647b 15:865bf07f381f
32 Changeset to get index (local revision number) 32 Changeset to get index (local revision number)
33 .hgignored processing 33 .hgignored processing
34 RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate 34 RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate
35 35
36 36
37 ??? encodings of fncache, .hgignore, dirstate
38
37 >>>> Effective file read/data access 39 >>>> Effective file read/data access
38 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1) 40 ReadOperation, Revlog does: repo.getFileSystem().run(this.file, new ReadOperation(), long start=0, long end = -1)
39 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data. 41 ReadOperation gets buffer (of whatever size, as decided by FS impl), parses it and then reports if needs more data.
40 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence) 42 This helps to ensure streams are closed after reading, allows caching (if the same file (or LRU) is read few times in sequence)
41 and allows buffer management (i.e. reuse. Single buffer for all reads). 43 and allows buffer management (i.e. reuse. Single buffer for all reads).