Ticket Hash: | 3e58b8ceafb64aac96b0ebc4a8629f3f666d6a2b | |||
Title: | fossil timeline -n limits by number of printed lines rather than number of entries | |||
Status: | Closed | Type: | Code_Defect | |
Severity: | Important | Priority: | ||
Subsystem: | Resolution: | Works_As_Designed | ||
Last Modified: | 2024-01-29 09:23:36 | |||
Version Found In: | f88368742d | |||
Description: | ||||
The print_timeline function in src/timeline.c limits by number of printed lines, but according to the documentation in "fossil help timeline" the -n flag should limit by the number of check-ins.
To reproduce: fossil new bugdemo.fossil ; mkdir bugdemo ; cd bugdemo ; fossil open ../bugdemo.fossil ; touch one.txt ; fossil add one.txt ; fossil commit -m "Added first file." one.txt ; touch two.txt ; fossil add two.txt ; fossil commit -m "Added second file with a nice long commit message - well, at least long enough that displaying it via 'fossil timeline' will cause a line wrap." two.txt Now "fossil timeline -n 3" will only display one commit. "fossil timeline -n 4" will display two. | ||||
User Comments: | ||||
added on 2024-01-29 09:23:36:
Closing as part of periodic cleanup. |
Attachments:
- bugfix.patch [download] added by anonymous on 2010-11-26 04:29:43. [details]