On Wed, Feb 12, 2020 at 05:21:55AM -0500, Nathan Hartman wrote:
> 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 believe TortoiseSVN's GUI already implements a "Repair Move" feature
which makes use of these APIs. It would make sense to offer the same
functionality on the command line indeed.
Received on 2020-02-12 11:27:25 CET