Erik Huelsmann wrote:
>> mkdir directory # the real directory has several files
>> inside it too
>>
>> svn add directory
>>
>> svn ci
>>
>> rm -rf directory # another program removes this directory
>>
>> mkdir directory # it then creates an entirely new directory
>> with similar files to the original directory
>
> But here you violate all rules about modifying working copies. See the
> warning box in:
>
http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycl
e.edit
>
> You're not using svn commands!
>
> HTH,
>
> Erik.
Problem is, he's not in control of the process that's deleting &
recreating the directory--he said that it's FireFox (specifically, how
it handles the extensions folder). Now, would you suggest that he a)
hack FireFox to use subversion commands, or b) ask if there's an extant
"force" option for svn add to do what he needs? (Note: he chose option
b.)
I don't have a good solution for the original poster; my best thought
would be to have a separate working copy that is periodically rsync'd to
match the FF directory and any changes committed through a script. Not
ideal, but should work...
-David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 19 20:28:21 2006