You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Wilfredo Sánchez <ws...@wsanchez.net> on 2003/03/09 07:40:13 UTC

Re: [OS X] Preserving .svn directories in nibs; restoring nuked .svn directories

On Saturday, February 22, 2003, at 09:04  PM, Nicholas Riley wrote:

> For .rtfd files and anything else, I have attached a Python script I
> wrote and use for restoring the .svn directories, just naively by
> doing a svn up and moving the .svn directory back where it's supposed
> to do.  This will work for most cases except for the bizarre ones
> where you've run svn switch or something, but since the versioning
> infromation is totally wiped out in this case, I don't know what else
> I can do :)

   Heh, I did exactly the same thing.  Thanks for the IB pallet, that'll  
be handy.

	-wsv


From: Wilfredo Sánchez <ws...@apple.com>
Date: Thu Jan 30, 2003  1:59:02  AM US/Pacific
To: macosx-svn@red-bean.com
Subject: [macosx-svn] svn-recover-bundle

   I wrote a simple shell script to recover a bundle directory's .svn  
turds after they've been munched on by an editor.  It's not perfect,  
but it works well enough to get me by for now.

   Thought I'd share the workaround while we ponder better solutions.

	http://svn.freemethods.org/trunk/Commands/svn-support/svn-recover- 
bundle.sh

	-wsv

_______________________________________________
macosx-svn mailing list
macosx-svn@red-bean.com
http://www.red-bean.com/mailman/listinfo/macosx-svn


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: [OS X] Preserving .svn directories in nibs; restoring nuked .svn directories

Posted by Dominik Westner <we...@logicunited.com>.
well, I took another approach:

I compiled svn with

#define SVN_WC_ADM_DIR_NAME   ".svn"

changed to

#define SVN_WC_ADM_DIR_NAME   "CVS"

in subversion/include/svn_wc.h

It's a hack, but it works reasonably well with the Apple Dev Tools. I  
already filled a but at Apple about not supporting subversion with  
their dev tools.

Dominik

On Sonntag, März 9, 2003, at 08:40 AM, Wilfredo Sánchez wrote:

> On Saturday, February 22, 2003, at 09:04  PM, Nicholas Riley wrote:
>
>> For .rtfd files and anything else, I have attached a Python script I
>> wrote and use for restoring the .svn directories, just naively by
>> doing a svn up and moving the .svn directory back where it's supposed
>> to do.  This will work for most cases except for the bizarre ones
>> where you've run svn switch or something, but since the versioning
>> infromation is totally wiped out in this case, I don't know what else
>> I can do :)
>
>   Heh, I did exactly the same thing.  Thanks for the IB pallet,  
> that'll be handy.
>
> 	-wsv
>
>
> From: Wilfredo Sánchez <ws...@apple.com>
> Date: Thu Jan 30, 2003  1:59:02  AM US/Pacific
> To: macosx-svn@red-bean.com
> Subject: [macosx-svn] svn-recover-bundle
>
>   I wrote a simple shell script to recover a bundle directory's .svn  
> turds after they've been munched on by an editor.  It's not perfect,  
> but it works well enough to get me by for now.
>
>   Thought I'd share the workaround while we ponder better solutions.
>
> 	http://svn.freemethods.org/trunk/Commands/svn-support/svn-recover- 
> bundle.sh
>
> 	-wsv
>
> _______________________________________________
> macosx-svn mailing list
> macosx-svn@red-bean.com
> http://www.red-bean.com/mailman/listinfo/macosx-svn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org