Fossil SCM
fossil new --date-override issue
Closed
b32014507ab7528…
· opened 16 years, 1 month ago
- Type
- Code_Defect
- Priority
- —
- Severity
- —
- Resolution
- Not_A_Bug
- Subsystem
- —
- Created
- Feb. 14, 2010 3:39 p.m.
It seems --date-override doesn't work correctly with fossil new, which is required for importing files from other repositories:
$ fossil new test.fsl -A test --date-override "2010-01-01 UTC" project-id: 05468b497577aa00211a76732a997723fb5a8acf server-id: 23567149953dd056df1d40062d214826895c9dae admin-user: test (initial password is "5a4f69") $ fossil timeline -R test.fsl
→ The timelime shows no entries!
If I create a new repository without date override and then try to override date to a past value, fossil complains about time skew and doesn't accept commit!
drh added on 2010-03-07 17:40:55:
Remove the "UTC" suffix from the date and it should work fine. The
--date-override option already assumes UTC.