Fossil SCM
"fossil timeline ancestors current -n 1" does not always work
Closed
a410962b8eaf937…
· opened 16 years, 3 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Minor
- Resolution
- Overcome_By_Events
- Subsystem
- —
- Created
- Jan. 6, 2010 10:01 p.m.
Maybe there is a better way, but I have scripts that parse the following command to get the SHA-1 of the current commit:
fossil timeline ancestors current -n 1
However, the command above doesn't always produce output even if changing -n 1 to -n 2 does produce output. In this case, -n 2 only shows one commit.
I am able to reproduce this behavior in the SQLite fossil repository by checking out the commit for "Version 3.6.22" and running the command shown above.
Comments (1)
stephan
3 years, 2 months ago
This seems to have been fixed somewhere over the years. Cannot reproduce from the "branch-3.6.22" branch of the sqlite tree.