hi list,
I've reported this a week ago or so and presume it failed to draw any
attention. therefore, with apologies of reporting the same thing twice I'd
like to repeat the observed problem here:
`fossil finfo' output quite frequently does contain pairs of duplicate
timeline entries at merge points. e.g. in the `fossil' source repo I see
these duplicates in the output of `fossil finfo src/sha1.c':
* 2011-09-01 [02ee688a4d] Merge latest trunk. (user: dmitry, artifact:
[a088d4e44a], branch: symlinks)
* 2011-08-22 [c57830bec2] Merge trunk. (user: dmitry, artifact:
[40c07a366d], branch: symlinks)
* 2010-02-26 [df90572760] Merge in latest changes from trunk. (user:
linuxfood, artifact: [039460fa0a], branch: creole)
* 2009-10-05 [651c75c5b7] merge trunk into creole (user: robert, artifact:
[30e74752c3], branch: creole)
if someone wants to check other instances (e.g. in `fossil src/main.c'
where there are many more duplicates to be found), here is a stupid script
(expecting a single file name as argument, when called) reporting the
duplicates:
#!/usr/bin/env sh
fossil finfo -W 0 "$*" | awk '
{
if (!freq[$0]) lines[++cnt] = $0
freq[$0]++
}
END {
for (i = 1; i <= cnt; i++) {
multi = freq[lines[i]]
if (multi > 1) print multi " times: " lines[i]
}
}'
if I am not missing some essential point, the present behaviour (duplicate
records) is buggy. it would be good if someone knowledgeable could have a
look.
joerg
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users