comparison design.txt @ 84:08754fce5778

updated design questions
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 25 Jan 2011 22:53:28 +0100
parents c25c5c348d1b
children d55d4eedfc57
comparison
equal deleted inserted replaced
83:a5275143664c 84:08754fce5778
34 +Changeset to get index (local revision number) 34 +Changeset to get index (local revision number)
35 +RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate (StatusCollector and WCSC) 35 +RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate (StatusCollector and WCSC)
36 +RevlogStream - Inflater. Perhaps, InflaterStream instead? branch:wrap-data-access 36 +RevlogStream - Inflater. Perhaps, InflaterStream instead? branch:wrap-data-access
37 +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- 37 +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-
38 + strip \1\n metadata out from RevlogStream 38 + strip \1\n metadata out from RevlogStream
39 + hash/digest long names for fncache
39 40
40 Implement use of fncache (use names from it - perhaps, would help for Mac issues Alex mentioned) along with 'digest'-ing long file names
41 delta merge 41 delta merge
42 DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection. Compare performance. 42 DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection. Compare performance.
43 43
44 Strip off metadata from beg of the stream - DataAccess (with rebase/moveBaseOffset(int)) would be handy 44 Strip off metadata from beg of the stream - DataAccess (with rebase/moveBaseOffset(int)) would be handy
45 45
46 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) 46 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)
47 -> recently introduced FileWalker may perhaps help solving this (if starts walking from selected folder) for status op against WorkingDir? 47 -> recently introduced FileWalker may perhaps help solving this (if starts walking from selected folder) for status op against WorkingDir?
48 48
49 ? Can I use fncache (names from it - perhaps, would help for Mac issues Alex mentioned)
50 ? Does fncache lists both .i and .d (iow, is it true hashed <long name>.d is different from hashed <long name>.i)
51
49 ??? encodings of fncache, .hgignore, dirstate 52 ??? encodings of fncache, .hgignore, dirstate
50 ??? http://mercurial.selenic.com/wiki/Manifest says "Multiple changesets may refer to the same manifest revision". To me, each changeset 53 ??? http://mercurial.selenic.com/wiki/Manifest says "Multiple changesets may refer to the same manifest revision". To me, each changeset
51 changes repository, hence manifest should update nodeids of the files it lists, effectively creating new manifest revision. 54 changes repository, hence manifest should update nodeids of the files it lists, effectively creating new manifest revision.
52 55
53 ? hg status, compare revision and local file with kw expansion and eol extension 56 ? hg status, compare revision and local file with kw expansion and eol extension