Fossil Forum

anonymous 2 months, 2 weeks ago

Post: Timeline view restricted to a particular file

Hi,

I am wanting to inspect the evolution of a particular file, not at a line-by-line basis ala "Blame", but at a commit-by-commit basis ala "Timeline". I'm not seeing an obvious way to achieve this through the GUI. Is this supported?

Thanks, Jesse

andybradford 2 months, 2 weeks ago

I'm not seeing an obvious way to achieve this through the GUI.

What part of the web UI are you navigating to? Unless I'm mistaken, you can easily achieve this by choosing any of the files in the /dir page. Then click on a file and it will show you the complete history for that file.

For example, navigate to:

https://fossil-scm.org/home/dir

Then click on the file named VERSION:

https://fossil-scm.org/home/finfo?name=VERSION

You can get to the /finfo page also from other interfaces in the /timeline views.

Or are you looking for something else?

danield 2 months, 2 weeks ago

What's wrong with /finfo?

andybradford 2 months, 2 weeks ago

And I should have added that starting at https://fossil-scm.org/home you just click on Code which takes you to the /dir page but restricts the view to changes in trunk. But you can either remove the ?ci=trunk from the URL or just choose the "All Check-ins" in the drop-down menu and then click the file that you want to inspect.

For a UI pages and their "help" you can see:

https://fossil-scm.org/home/help#webpages

anonymous 2 months, 2 weeks ago

Thanks! I needed to click on the file name after opening the file. I didn't think to do this because it wasn't clear that the filename had anything to do with its file history.

Jesse

anonymous 1 month, 3 weeks ago

FYI: fossil timeline -p <file-path>, to just restrict the timeline to a specific file/path

help:timeline

Keyboard Shortcuts

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