# HG changeset patch # User Artem Tikhomirov # Date 1294285540 -3600 # Node ID da8ccbfae64dfbb6f71fd8d1f665f08404249ee4 # Parent d4fdd1845b3fe02fde5d32da0bf5f842158eb121 Reflect Nodeid's array is exactly 20 diff -r d4fdd1845b3f -r da8ccbfae64d design.txt --- a/design.txt Thu Jan 06 04:42:15 2011 +0100 +++ b/design.txt Thu Jan 06 04:45:40 2011 +0100 @@ -29,6 +29,7 @@ + dirstate.mtime +calculate sha1 digest for file to see I can deal with nodeid *.hgignored processing ++Nodeid to keep 20 bytes always, Revlog.Inspector to get nodeid array of meaningful data exact size (nor heading 00 bytes, nor 12 extra bytes from the spec) DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection. DataAccess - implement memory mapped files, compare performance. @@ -36,8 +37,8 @@ Changeset to get index (local revision number) RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate -Revlog.Inspector to get nodeid array of meaningful data exact size (nor heading 00 bytes, nor 12 extra bytes from the spec) -Nodeid to keep 20 bytes always + + 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)