Post by Michai RamakersWhen looking at the timeline alone, it's a bit cumbersome to filter
out the checkins that affect the dir I'm interested in.
Somewhere around here i have an old SQL view which might be useful in this
regard...
http://fossil.wanderinghorse.net/repos/fwiki/editor/wiki-editor-goco.html?page=FossilQueries.goco
That view can be used to find commits containing specific files. Indeed, it
seems to allow us to figure out in which commit a given file was modified:
sqlite> select count(checkin) from x;
count(checkin)
863
sqlite> select count(checkin) from x where name='Makefile';
count(checkin)
61
sqlite> select checkin, datetime from x where name='Makefile' order by
datetime desc limit 3;
checkin|datetime
cb449b34ea9207f4c188f450615aa50c7d70aa53|2012-07-23 17:12:36
d64bf0af6eee2c42d5401a551743139a0b1e0339|2012-02-27 18:49:22
71aaf54186a2e75db897f6e38428c3ee79592bac|2012-02-18 21:46:19
Is distinctly different from the recent commits which all implicitly
contain 'Makefile':
sqlite> select checkin, datetime from x order by datetime desc limit 3;
checkin|datetime
8fd4f33e244ef9eb203bb7494d8f7db73978587f|2014-01-21 15:54:14
e2afbc88d3823484015d0bdbefce44a9d3147e3d|2014-01-21 15:45:56
fafbd6997a7083fdfd0fd0539dd754edfb1b4994|2013-09-09 06:11:21
Indeed, those commits were all build-related fixes....
[***@host:~/cvs/fossil]$ ./libfossil/f-acat cb449b34ea92 -R cson.fsl |
head
C minor\sbuild\sfix.
D 2012-07-23T19:12:36.114
F Makefile 3fba972e6e7376bf1a4e19283fba6e4ccbbffa09
...
[***@host:~/cvs/fossil]$ ./libfossil/f-acat 71aaf54186a2e75db8 -R
cson.fsl | head
C build\sfixes\sfor\sgcc\s4.6.
D 2012-02-18T22:46:19.550
F Makefile 6125b20d93e28c8a883a249f7ce343b3729aaf3c
...
Hmmmm... i'll have to take a closer look at that later - that may very well
provide the info you're looking for. It's currently
winding-down-for-bed-time here.
When looking at the vdiff (now with 'glob=') output, you know what
Post by Michai Ramakerschanged, but it's still a bit cumbersome to get per-file history for
each one.
BTW: just checked in: the glob parameter now propagates via the various
toggle buttons and a button has been added to clear the glob.
--
----- 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