[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: FSFS successor ID design draft

From: Danil Shopyrin <danil_at_visualsvn.com>
Date: Mon, 29 Aug 2011 20:04:09 +0400

Hi Stefan!

On Mon, Aug 29, 2011 at 6:54 PM, Stefan Sperling <stsp_at_elego.de> wrote:
> Any ideas about how to solve this without using successors?
>
> [[[
>  deleted_nodes = nodes which appear in LEFT_PATH_at_LEFT_REV but not in
>                  RIGHT_PATH_at_RIGHT_REV
>  added_nodes = nodes which appear in RIGHT_PATH_at_RIGHT_REV but not in
>                LEFT_PATH_at_LEFT_REV
>  moved_nodes = []
>  # A 'node' in this context is a repos_relpath
>  for each node in deleted_nodes {
>    node_rev_id = get_node_node_rev_id(node_at_LEFT_REV)

Just a question, why wouldn't you like to iterate over added_nodes
(instead of deleted_nodes)? It seems that the whole algorithm can be
reverted and work without successors. Or do I misunderstand something?

Thanks!

-- 
With best regards,
Danil Shopyrin
VisualSVN Team
Received on 2011-08-29 18:05:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.