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

Re: RFE: "svn mv --keep-local" (and perhaps "svn cp --keep-local")

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Wed, 12 Feb 2020 05:21:55 -0500

On Wed, Feb 12, 2020 at 1:32 AM Nogin, Aleksey <anogin_at_hrl.com> wrote:

> Currently, “svn rm” supports “--keep-local” (as in – record the change in
> the db, but do not change the working copy files), but neither svn mv, nor
> svn cp do.
>
>
>
> Common use case:
>
>
>
> % mv a b
>
> # Ah, crap, I meant “svn mv”!
>
> % svn mv –keep-local a b
>
>
>
> Of course, there is always the workaround of “mv b a; svn mv a b”, but
> it’s quite annoying to have to do it.
>

And if i understand correctly, it's already implemented in the svn
libraries but the functionality is not exposed to the command line client
for some reason.

I'm away from my computer so I can't tell you specifics but from my hazy
memory version 7 of the API adds that.

Would you like to look into it and propose a patch?

Cheers,
Nathan
Received on 2020-02-12 11:22:11 CET

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.