Mercurial > jhg
diff design.txt @ 78:c25c5c348d1b
Skip metadata in the beginning of a file content. Parse metadata, recognize copies/renames
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 25 Jan 2011 02:13:53 +0100 |
parents | 19e9e220bf68 |
children | 08754fce5778 |
line wrap: on
line diff
--- a/design.txt Mon Jan 24 05:33:47 2011 +0100 +++ b/design.txt Tue Jan 25 02:13:53 2011 +0100 @@ -35,12 +35,13 @@ +RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate (StatusCollector and WCSC) +RevlogStream - Inflater. Perhaps, InflaterStream instead? branch:wrap-data-access +repo.status - use same collector class twice, difference as external code. add external walker that keeps collected maps and use it in Log operation to give files+,files- - ++ strip \1\n metadata out from RevlogStream Implement use of fncache (use names from it - perhaps, would help for Mac issues Alex mentioned) along with 'digest'-ing long file names delta merge DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection. Compare performance. +Strip off metadata from beg of the stream - DataAccess (with rebase/moveBaseOffset(int)) would be handy Status operation from GUI - guess, usually on a file/subfolder, hence API should allow for starting path (unlike cmdline, seems useless to implement include/exclide patterns - GUI users hardly enter them, ever) -> recently introduced FileWalker may perhaps help solving this (if starts walking from selected folder) for status op against WorkingDir?