# # patch "ChangeLog" # from [96f60220fbf45db6146cddc4e117364264841c32] # to [596c8e32ed2e6da3604d87b643fef635cbcff9e3] # # patch "netsync.cc" # from [1609450441fbab8799aa9e5fc4e332482bd419f2] # to [db4dc72988745a0d40e7b90db4b02aceb1533697] # --- ChangeLog +++ ChangeLog @@ -1,5 +1,10 @@ 2005-06-01 Timothy Brownawell + * netsync.cc (analyze_ancestry_graph): Try to fix segfault. + Always accept tags. + +2005-06-01 Timothy Brownawell + * netsync.cc (process_auth_cmd, analyze_ancestry_graph): Move write-permission checking to where it belongs, *after* we know exactly what we're checking permissions about. Drop things we --- netsync.cc +++ netsync.cc @@ -1078,7 +1078,7 @@ // Write permissions checking: // remove heads w/o proper certs, add their children to heads - // 1) remove unwanted branch/tag certs from consideration + // 1) remove unwanted branch certs from consideration // - server: check write permission hook // - client: check against sync pattern // 2) remove heads w/o a branch tag, process new exposed heads @@ -1124,11 +1124,8 @@ % name); } } - bcerts=keeping; } - //tags - if(i->second.count(bcert_name) == 0) - i->second[tcert_name].clear(); + bcerts=keeping; } //2 list tmp;