Nick wrote on Thu, Dec 30, 2010 at 15:54:54 -0500: > On Thu, 2010-12-30 at 15:48 +0100, anton wrote: > > Hi, > > > > I searched google, I search the subversion doc > > (here I searched "obstruct" and found only a python sample). > > > > So my question (subversion.apache.org is just down, so I couldnt > > look at the faq): > > > > I have 2 files which are version controled: > > > > a.txt > > b.txt > > > > The result I want to get is: > > > > a.txt -> b.txt > > b.txt > > > > One possibility is: > > > > svn rm a.txt > > svn ci -m " removed a" > > ln -s b.txt a.txt > > svn add a.txt > > svn ci -m "added a as symlink" > > > > I also tried: > > > > svn rm a.txt > > ln -s b.txt a.txt
At this point you need to: svn add a.txt > > svn ci -m "replaced with as symlink" > > You could have tried 'svn ci a.txt' here. (with an explicit target) > > But this does not work, I get an error "obstructed ..." > > svn stat tells me the file has a status "~" > > > > Stragely I got with rapidsvn a file status "R", but at the commandline > > I didnt figure out how to get this. > > > > Question: > > > > what is the "should-be" way of doing such a replacement???? > > > > ... it would be nice to put this in the official doc, > > so a lot of developers could save time posting in a lot of forums .... > > > > Im a little bit frustrated,sorry. > > > > But anyway, wish you a happy new year :-) > > > > Anton > > I've been bumping into this same situation recently and would also like > to hear how best to handle it. > > Nick > >