subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: RFE: "svn mv --keep-local" (and perhaps "svn cp --keep-local")
Date Wed, 12 Feb 2020 10:27:05 GMT
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@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.

Mime
View raw message