Re: Could not un- and re- link ~/.subversion/config
From: Alan Brogan <abrogan_at_altobridge.com>
Date: Fri, 5 Mar 2010 15:20:44 +0000 (GMT)
Tried that !
It is the directory which is protected, not just the config file.
$ cd ~/.subversion
$ wc -l README.txt
$ echo > README.txt
$ rm -rf README.txt
Where did those 124 lines come back from ?
-- Alan ----- Original Message ----- From: "Erik Andersson" <kirean_at_gmail.com> To: "Alan Brogan" <abrogan_at_altobridge.com> Cc: users_at_subversion.apache.org Sent: Thursday, 4 March, 2010 15:45:31 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: Could not un- and re- link ~/.subversion/config try: "rm -Rf config" Cheers / Erik On Thu, Mar 4, 2010 at 2:13 PM, Alan Brogan <abrogan_at_altobridge.com> wrote: > Hello the list, > > I just lost a few hours trying to do this: > > $ cd ~/.subversion > $ rm -f config > $ ln -s /path/to/another/config . > > The link command kept failing, because "File exists" > WTF ? > > Turns out I cannot remove ~/.subversion/* in one command, as some other > process is protecting them from deletion (but not from editing). > > Eventually I did figure out the workaround, which is simply to join them > into one command > $ rm -f config && ln -s /path/to/another/config . > > But it was a £*({ing annoying few hours between problem arising and finding > solution (and even more annoying that the solution was so simple) > > I can find no documentation of this feature at > http://svnbook.red-bean.com/en/1.5/ > http://subversion.apache.org/faq.html > http://mail-archives.apache.org/mod_mbox/subversion-users/ > so, I would like to ask: > > a) where is it documented ? > b) can it be extended to other user-configurable directories ? > > Thank you for reading this far, and any writing you might be able to do. > > -- > Alan >Received on 2010-03-05 16:21:17 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.