You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@red-bean.com> on 2007/09/30 15:13:47 UTC

need help with copy-on-update

Maybe erik h. can help me here, or others?

I've gotten to the point in my patch where, during an 'svn update',
the server sends add_file(copyfrom=...), and the update editor now
locates the copyfrom-file already existing in the working copy.

What's missing is code to copy the existing file over to the new
location.  We have routines like svn_wc_add_repos_file() (which is
used by svn_wc_copy()), but this core routine schedules the file for
addition, which I definitely don't want.  I attempted to modify the
routine to *not* do this (i.e. do it optionally), but it turned into a
big hairy mess.

Maybe a better strategy is to run svn_wc_copy(), then go and hack on
the entries file to remove schedule-add stuff?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org