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

Re: moving a file on top of a link issue?

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-16 22:23:29 CET

On Mar 16, 2007, at 10:52, Jeff Smith wrote:

> On Friday 02 March 2007 01:16, tim gunter wrote:
>
>> I have a working copy in which I had a symbolic link pointing to
>> another file. At some point,
>> I deleted the link, and moved its target on top of the link. Later
>> on, after editing the file and
>> then reverting it, svn appears to have replaced the contents of the
>> file with "link file".
>
> I've only given this a little thought, but...
> Rather than a bug, this seems normal svn usage to me. If you had one
> type of file, then you replaced it with a different type of file (but
> same name), isn't that just something you should not do unless you
> `svn delete` the first one first?
>
> In fact, you say you replaced the file, edited it, then reverted it.
> Isn't 'revert' supposed to revert it back to what it was on the last
> commit?

Yeah, and he's saying Subversion doesn't do that: rather than
recreating the symlink, Subversion is replacing the contents of his
file with, literally, a text file containing the word "link" followed
by the location to which the symlink should be pointing.

I haven't tried to reproduce the behavior yet.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 16 22:23:53 2007

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.