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

Re: Replacing soft links with another file type

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-10-05 18:59:41 CEST

On 10/5/06, Michael.McElroy@schange.com <Michael.McElroy@schange.com> wrote:
>
> Sent this of yesterday as my first post and didn't get a response so maybe
> I'm sending to the wrong address. ;-)
>
> If I have a soft link that I want to replace with a regular file, I have to
> replace it with two commits, one after the delete and another after the add,
> or else I get an error committing.
>
> Fairly new at Subversion so maybe I'm missing something. Searched the
> archives, but only found link problems relating to cross environments This
> is all Linux.
>
> Subversion Versions:
> Client: 1.4.0
> Server 1.3.2
>
> Thanks for any help. It's a great product.
> Mike
>
> Command sequence:
>
> ls -l route
> route -> ../bin/busybox
>
> svn del route
> D route
>
> cp rfs/sbin/route .
> svn stat
> ~ route
>
> svn add route
> A (bin) route
> svn status
> ~ route
>
> svn commit -m "Replacing link with binary"
>
> svn: Commit failed (details follow):
> svn: Entry '/home/mvm/sb/fsi102/ramdisk_fsi/sbin/route'
> has unexpectedly changed special status
>
> svn del route
> svn: 'route' is in the way of the resource actually under version control
>
> rm route
> svn status
> ! route
>
> svn del route
> D route
> svn stat
> D route
>
> svn commit -m "Replacing link with binary"
> Deleting sbin/route
>
> Committed revision 452.

Looks like a bug to me. Would you mind filing it in the issue tracker
so it doesn't get forgotten about?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 5 19:01:11 2006

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

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