Fossil SCM

fossil timeline -n limits by number of printed lines rather than number of entries

Closed

3e58b8ceafb64aa… · opened 15 years, 4 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Works_As_Designed
Subsystem
Created
Nov. 26, 2010 4:23 a.m.

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.

Comments (1)

system 2 years, 2 months ago

Closing as part of periodic cleanup.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button