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

Re: Admin only move / handling manual moves

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-17 14:56:40 CET

On Mar 17, 2006, at 14:34, Messer, Nathan wrote:

>> So you want, for example:
>
>> mv foo bar
>> inform-svn-about-mv foo bar
>
> That's exactly what I want, yes.
>
>> It should be possible, if perhaps a bit ugly, to write inform-svn-
>> about-mv something like this:
>
>> #!/bin/sh
>> mv $2 $1
>> svn mv $1 $2
>
> Did you mean
> mv $1 $2
> svn mv $1 $2
>
> ?

No, I did really mean:

#!/bin/sh
mv $2 $1
svn mv $1 $2

That is: Move the file from its new name back to its old name, then
let Subversion move it from its old name back to its new name while
making a note of the move in the working copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 17 14:59:16 2006

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