View Ticket
Not logged in
Ticket UUID: b32014507ab7528c68510343904ce33a1f31e6e5
Title: fossil new --date-override issue
Status: Closed Type: Code_Defect
Severity: Priority:
Subsystem: Resolution: Not_A_Bug
Last Modified: 2010-03-07 17:40:55
Version Found In:
Description & Comments:
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.