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

RFE: svn_client_delete3

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-20 22:03:02 CEST

Hi,

I'd like to propose an enhancement to svn_client_delete3() (new in 1.5,
so no problem to change that API). Currently, the API is like this:

svn_client_delete3(svn_commit_info_t ** commit_info_p,
    const apr_array_header_t * paths,
    svn_boolean_t force,
    svn_boolean_t keep_local,
    svn_client_ctx_t * ctx,
    apr_pool_t * pool
   )

I'd like to have an additional param:

svn_client_delete3(svn_commit_info_t ** commit_info_p,
    const apr_array_header_t * paths,
    svn_boolean_t force,
    svn_boolean_t keep_unversioned,
    svn_boolean_t keep_local,
    svn_client_ctx_t * ctx,
    apr_pool_t * pool
   )

the 'keep_unversioned' flag would keep all unversioned files in a
folder. Of course, if 'keep_unversioned' is true and there *are*
unversioned files in that folder, then that would imply that the
'keep_local' flag would automatically be set too.

Reason:
A lot of people want to get rid of versioned files, even if they have
local modifications. But they still want to keep the unversioned files.
It's also better than a simple 'force': if versioned files get removed,
users don't lose *much* data (only the local modifications). Unversioned
files however are completely lost.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 20 22:02:10 2007

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

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