On Fri, Aug 9, 2013 at 7:40 AM, Isaac Jurado <dipto...@gmail.com> wrote:
> As I understand it, in Fossil, the history is mostly driven by the date > and time of the events, whereas in Git and Hg ancestry relationship > comes first. I gues this is one of the reasons of why there typical > "log" command is called "timeline" in Fossil; and also why hiding the > possibility of altering the commit time, because it would lead to a > confusing timeline graph. > > When I converted an Hg repo that had its history reordered (with "hg > histedit"), the resulting Fossil timeline had an arrow pointing > downwards which made it look a bit weird. > The timeline display in Fossil is date driven. But the underlying repository uses ancestry relationships, just like Git and Mercurial. When you have a parent that is younger than its child, we call that a "time-warp" and it results in a funky backwards arrow on the timeline display. See http://www.sqlite.org/src/timeline?c=3f30f00a384d&nd for an example. Timewarps can be caused, for example, when commits occur on a system were the system clock is set to the wrong time. When doing a sync, Fossil compares timestamps on the local and remote machines and issues a warning if they are misaligned. The whole point of that warning is to try to prevent timewarps. You can get a list of all timewarps in a project by visiting the /test_timewarps page in the web interface. There were several timewarps in the SQLite history (as seen at http://www.sqlite.org/src/test_timewarps) but most of them have been fixed by adding tags to check-ins that "correct" their check-in time. The http://www.sqlite.org/src/info/cbfe6e9df3check-in, for example, had an original check-in time of 2009-08-20 09:11:06 but this was adjusted to 2009-08-20 16:11:06 for display purposes using a tag, specifically the http://www.sqlite.org/src/info/14cc3387df tag. You could, in theory, generate timewarps in Git too, since each check-in has a timestamp, iirc. Does anybody know what would happen on the GitHub timeline graph for a Git repository that contains a timewarp? -- D. Richard Hipp d...@sqlite.org
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users