On 09/21/17 19:51, Richard Hipp wrote:
I don't have any idea [why] the tags are not working for you.

Try this sequence:

f new repo.fossil
mkdir ckout
cd ckout
f open ../repo.fossil
touch xxx
f add xxx
f commit -date-override 2018-01-01 -m 'add xxx'
sleep 5
TIME=$(date +%FT%T)
sleep 5
f rm -hard xxx
f commit -allow-older -m 'remove xxx'
f timeline
f amend -date "$TIME" prev
f timeline
f rebuild
f timeline

The first timeline has a time warp, as expected:

=== 2018-01-01 ===
00:00:00 [447719afb0] add xxx (user: andy tags: trunk)
=== 2017-09-22 ===
01:47:20 [7196e2f3c2] *CURRENT* remove xxx (user: andy tags: trunk)
01:47:10 [602cd20f89] initial empty check-in (user: andy tags: trunk)
+++ no more data (3) +++

The second timeline has the corrected time:

=== 2017-09-22 ===
01:47:20 [03d8e85285] Edit [447719afb096a7d3|447719afb0]: Timestamp
         2017-09-21T20:47:15. (user: andy)
01:47:20 [7196e2f3c2] *CURRENT* remove xxx (user: andy tags: trunk)
01:47:10 [602cd20f89] initial empty check-in (user: andy tags: trunk)
=== 2017-09-21 ===
20:47:15 [447719afb0] add xxx (user: andy tags: trunk)
+++ no more data (4) +++

The third timeline, after the rebuild, has the original time warp again despite also showing the correction tag:

=== 2018-01-01 ===
00:00:00 [447719afb0] add xxx (user: andy tags: trunk)
=== 2017-09-22 ===
01:47:20 [03d8e85285] Edit [447719afb096a7d3|447719afb0]: Timestamp
         2017-09-21T20:47:15. (user: andy)
01:47:20 [7196e2f3c2] *CURRENT* remove xxx (user: andy tags: trunk)
01:47:10 [602cd20f89] initial empty check-in (user: andy tags: trunk)
+++ no more data (4) +++

This is fossil version 2.4 [493e3bade9] 2017-09-21 21:49:02 UTC

--
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to