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

Re: svn add option to record replaced files as modified?

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 26 Jul 2018 15:54:17 +0200

On Thu, Jul 26, 2018 at 03:46:00PM +0200, Stefan Sperling wrote:
> Note that libsvn_client does not expose this functionality yet.
> So the command line client would probably need a new wrapper API
> at the client library layer as well in order to expose this feature
> to the command line user. But this should be rather straightforward.

Sorry, I got confused between svn_client_revert and svn_wc_revert here.

The client layer already exposes this, so we could start directly
in svn_cl__revert() (subversion/svn/revert-cmd.c) and make the
meta-data only parameter configurable via a new flag in opt_state:

  err = svn_client_revert4(targets, opt_state->depth,
                           opt_state->changelists,
                           FALSE /* clear_changelists */,
                           FALSE /* metadata_only */,
                           TRUE /*added_keep_local*/,
                           ctx, scratch_pool);
Received on 2018-07-26 15:54:27 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.