comparison design.txt @ 18:02ee376bee79

status operation against current working directory
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 03 Jan 2011 20:42:52 +0100
parents 571e1b2cc3f7
children 11cfabe692b3
comparison
equal deleted inserted replaced
17:571e1b2cc3f7 18:02ee376bee79
23 + support patch from baseRev + few deltas (although done in a way patches are applied one by one instead of accumulated) 23 + support patch from baseRev + few deltas (although done in a way patches are applied one by one instead of accumulated)
24 + command-line samples (-R, filenames) (Log & Cat) to show on any repo 24 + command-line samples (-R, filenames) (Log & Cat) to show on any repo
25 +buildfile + run samples 25 +buildfile + run samples
26 *input stream impl + lifecycle. Step forward with FileChannel and ByteBuffer, although questionable accomplishment (looks bit complicated, cumbersome) 26 *input stream impl + lifecycle. Step forward with FileChannel and ByteBuffer, although questionable accomplishment (looks bit complicated, cumbersome)
27 + dirstate.mtime 27 + dirstate.mtime
28 +calculate sha1 digest for file to see I can deal with nodeid
29 *.hgignored processing
28 30
29 calculate sha1 digest for file to see I can deal with nodeid
30 DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection. 31 DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection.
31 delta merge 32 delta merge
32 Changeset to get index (local revision number) 33 Changeset to get index (local revision number)
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 Revlog.Inspector to get nodeid array of meaningful data exact size (nor heading 00 bytes, nor 12 extra bytes from the spec) 35 Revlog.Inspector to get nodeid array of meaningful data exact size (nor heading 00 bytes, nor 12 extra bytes from the spec)
36 36 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)
37 37
38 38
39 ??? encodings of fncache, .hgignore, dirstate 39 ??? encodings of fncache, .hgignore, dirstate
40 ??? http://mercurial.selenic.com/wiki/Manifest says "Multiple changesets may refer to the same manifest revision". To me, each changeset 40 ??? http://mercurial.selenic.com/wiki/Manifest says "Multiple changesets may refer to the same manifest revision". To me, each changeset
41 changes repository, hence manifest should update nodeids of the files it lists, effectively creating new manifest revision. 41 changes repository, hence manifest should update nodeids of the files it lists, effectively creating new manifest revision.