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

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

[Monotone-commits-diffs] Revision 0a8c2d2d49ce2b718f493091fc1f1987f72338


From: monotone
Subject: [Monotone-commits-diffs] Revision 0a8c2d2d49ce2b718f493091fc1f1987f72338c8
Date: Sat, 13 Mar 2010 19:09:14 +0100

-----------------------------------------------------------------
Revision: 0a8c2d2d49ce2b718f493091fc1f1987f72338c8
Ancestor: 68f4be5aea24452b91a2de73ce3ff442d6968313
Author: address@hidden
Date: 03/04/2010 04:14:17 AM
Branch: net.venge.monotone

Modified files:
        ancestry.cc automate.cc database.cc database.hh
        database_check.cc enumerator.cc migrate_ancestry.cc

ChangeLog: 

add explicit database methods to load ancestry in forward and reverse order

 * ancestry.cc (find_common_ancestor_for_merge, erase_ancestors_and_failures,
   ancestry_difference): replace construction of inverse ancestry maps with 
calls
   to get_reverse_ancestry

 * automate.cc (automate_graph): use get_reverse_ancestry to get the graph in
   the order for the child_to_parents map directly; flip first/second around
   for this to be correct

 * database.{cc,hh} (info): replace call to get_revision_ancestry with
   get_forward_ancestry
   (get_revision_ancestry): rename to ...
   (get_forward_ancestry): ... this
   (get_reverse_ancestry): new function to load the ancestry graph in child to
   parent order

 * database_check.cc (check_ancestry, check_heights_relation): replace calls to
   get_revision_ancestry with get_forward_ancestry

 * enumerator.cc (constructor): load ancestry graph in forward and reverse order

 * migrate_ancestry.cc (is_ancestor,
   build_roster_style_revs_from_manifest_style_revs, allrevs_toposorted):
   replace calls to get_revision_ancestry with get_forward_ancestry



Attachment: txtm2pnQeoxBS.txt
Description: Diff [68f4be5aea24452b91a2de73ce3ff442d6968313] -> [0a8c2d2d49ce2b718f493091fc1f1987f72338c8]


reply via email to

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