monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 3def934441d14e150e9369d87a80eafeab5a69


From: monotone
Subject: [Monotone-commits-diffs] Revision 3def934441d14e150e9369d87a80eafeab5a6925
Date: Mon, 18 Feb 2008 19:06:38 +0100

-----------------------------------------------------------------
Revision: 3def934441d14e150e9369d87a80eafeab5a6925
Ancestor: 4654e482d205e08920735242a131e602db293165
Author: address@hidden
Date: 2008-02-16T13:32:03
Branch: net.venge.monotone.cvsimport-branch-reconstruction

Modified files:
        rcs_import.cc

ChangeLog: 

* Added a dependencies cache per blob, instead of only caching the
  dependents. The state flags (has_cached_deps and cached_deps_are_sorted)
  apply to both caches. Accordingly, reset_deps_cache() resets both. A
  new common function fill_deps_caches() fills both caches.
* Split the functions get_dependents() and get_dependencies(), to be able
  to get the lower and upper bounds directly, instead of using the
  dep_loop construct.
* Added the timestamp sanitizer helper classes event_tss_helper and well
  as blob_tss_helper. Those are the interfaces to the very distinct way
  we store blobs and events, and their dependencies.
* Templatize all of the timestamp sanitizer, because we want to use the
  very same beast for all blobs as well, now. Before, this did only correct
  timestamps of events of a single RCS file - for each file separately. Now,
  after splitting dependency cycles, we also let that very same timestamp
  sanitizer correct the average time of the blobs with regard to their
  dependencies. This way, we can use the timestamp as a height value within
  the graph, which is very useful for the branch_sanitizer.

Attachment: txtx5n1jL3aBR.txt
Description: Diff [4654e482d205e08920735242a131e602db293165] -> [3def934441d14e150e9369d87a80eafeab5a6925]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]