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

Re: delete a symbolic link and replace with a file

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 23 Mar 2009 08:50:00 -0400

On Mon, Mar 23, 2009 at 06:42, Subramanian Thenralmani
<sthenral_at_yahoo.com> wrote:
> Hi,
>
> How can i delete a symbolic link and replace with a normal file with the
> same name. ( link and file name is same)
>
> One way is delete the link and commit then update the sandbox and add a
> file.
>
> I need one step procedure to meet the above.

I don't think you'll find one. The repository needs to see these as 2
distinct actions, and that means 2 commits/transactions, therefore at
least 2 steps.

If this is something you'll be doing frequently, write a script around
the svn client, and it'll only be one step to execute, and the script
will do everything automatically.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1389465

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-23 13:50:53 CET

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.