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

Re: update processing

From: Jim Blandy <jimb_at_zwingli.cygnus.com>
Date: 2000-12-14 19:26:51 CET

> The client sends a tree-delta devoid of text-deltas; this tree-delta
> gives a root revision #, and then "replaces" any file or dir which is
> at a *different* revision #.
>
> The filesystem then builds a mini-node-tree, floating in space, which
> is a model of the working copy. The filesystem then compares this
> tree to the "head" tree, and sends back a custom tree-delta.

I think this can be done by beginning a transaction based on the
working directory's root revision, opening nodes from various other
revisions and plunking them into place with svn_fs_copy (which won't
actually do any copying), calling `svn_fs_dir_delta' to get the delta,
and then calling `svn_fs_abort_txn' to throw away the copy of the
working directory's base tree.
Received on Sat Oct 21 14:36:17 2006

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