i'll just put this here as a reminder to self for later...

f com -branch th1ish-R.I.P. --allow-empty -m "Moving th1ish out of trunk,
as it's holding up a couple pending improvements in the core (and hasn't
been hacked on in over 18 months other than to accommodations a few minor
API changes). Its sloppy ref handling (by current standards) makes it
untenable in conjunction with up-coming cwal improvements. th1ish is now
dead. Long live th1ish (or not - s2 is far superior)."

So now i'm curious... this is an empty commit, so in theory the only diff
between the manifests needs to be the P, D, C, Z cards (i.e. no F-cards)...

[odroid@host:~/fossil/cwal]$ f-acat th1ish-R.I.P.
B 420eae38e8c3d71ec7e14a485ff4ea979dae4f1b
C <SNIP>
D 2016-02-16T09:32:42.820
F cwal.c a53874a4dba7d5fae048bfd11f358ece1a0da9fd
F include/wh/cwal/cwal.h 830c7d91870170f02aa205d4a60e5bb756d4d2a1
F s2/s2.h 26d823296fe2a5f7620455c12f665fc1a3038a3f
F s2/s2_eval.c ae0178b8a8284106009e550f4fc548b28f7e60b6
F s2/s2_ops.c fa80b92c36db54ad809e65706a56ba24f1d4a647
F s2/unit/000-010-compare.s2 1f6a9d67677ed2c4fa3679fa067e7bc64f65c05d
F s2/unit/700-000-foreach.s2 03dc67a833b5808953a1932dd5de132236503292
P 732decb5a614930351e4ec37b001bfcb8359d56f
R 0fd43a44a9f519bf71fada9d8aec286a
T *branch * th1ish-R.I.P.
T *sym-th1ish-R.I.P. *
T -sym-trunk *
U stephan
Z ff202f5d41b161002d259b2e33c27607

Interesting - it: has the exact same F-cards as its immediate parent (which
makes sense, as the P-card is a delta, too):

[odroid@host:~/fossil/cwal]$ f-acat 732decb5a614930351e4ec37b001bfcb8359d56f
B 420eae38e8c3d71ec7e14a485ff4ea979dae4f1b
...
F cwal.c a53874a4dba7d5fae048bfd11f358ece1a0da9fd
F include/wh/cwal/cwal.h 830c7d91870170f02aa205d4a60e5bb756d4d2a1
F s2/s2.h 26d823296fe2a5f7620455c12f665fc1a3038a3f
F s2/s2_eval.c ae0178b8a8284106009e550f4fc548b28f7e60b6
F s2/s2_ops.c fa80b92c36db54ad809e65706a56ba24f1d4a647
F s2/unit/000-010-compare.s2 1f6a9d67677ed2c4fa3679fa067e7bc64f65c05d
F s2/unit/700-000-foreach.s2 03dc67a833b5808953a1932dd5de132236503292
...

When performing empty commits and using a delta manifest, we "could" elide
all the F-cards, which implies also leaving out the R-card (or using the
default hash for it).

Granted, empty commits are rare (this might even be my first one ever), so
this would be a micro-optimization, if at all.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to