Careful copying that one, you don't want to make any typos in a script
that has "rm -rf" in it. :)

One thing to prevent getting those .svn folders in your copied folders
is to ‘export’ them rather than copying or moving them. I know it's a
little late now, but consider this a tip for the next time you need to
get some files out of version control. This command is also very
useful to, for instance, deploy a version of a website to your
webserver without putting all of your .svn metadata in a www-
accessible folder.

Select the folder you want to export in Versions' Browse view (works
with either a repo or working copy) and pick “Export…” under the File
menu or the item's context menu. The exported version will only have
the ‘real’ contents of the folder, not any of the “.svn” metadata
folders in there.

For those forget to use this feature (like me), here's a little Python
command-line script I use whenever I need to get rid of SVN metadata
manually: https://gist.github.com/871204

Cheers,
- Dirk

the Versions team

On Mar 11, 1:59 pm, Cue <qbiz...@gmail.com> wrote:
> I assume your not referring to the svn cleanup utility?
>
> If not, you'd have to manually remove the SVN files since clients serve the 
> purpose of managing versioned files.
>
> Quick terminal command would be:
> cd /path/to/directory
> find . -type d -name ".svn" -exec rm -fR {} \;
>
> Hope this helps.
>
> Cue
>
> On 11 Mar 2011, at 12:48, Jorde Vorstenbosch <jordevorstenbo...@gmail.com> 
> wrote:
>
>
>
> > Take it out of subversion control
>
> > --
> > Jorde Vorstenbosch
>
> > On Friday, 11 March 2011 at 13:47, Alex Zavatone wrote:
>
> >> What do you mean by "clean up"?
>
> >> On Mar 11, 2011, at 5:37 AM, Glenno wrote:
>
> >>> I would like to know this too. Anyone?
>
> >>> Glen
>
> >>> On Feb 24, 4:07 am, Peter <peter...@gmail.com> wrote:
> >>>> Hi,
>
> >>>> Is there a way to clean up files that were copied using the Finder? Like 
> >>>> in
> >>>> other version control clients you can "Clean up files" to set them back 
> >>>> to
> >>>> normal files/folders.
>
> >>>> I know there is the "export" function to copy files from a working copy 
> >>>> out
> >>>> to the folder so it is clean of version control.
>
> >>>> But I would prefer to copy files using the finder over to a new project.
> >>>> Then I want to add the project in to SVB. However, versions fails because
> >>>> those files and folders have Versions tracking infomation with them.
>
> >>>> Thanks,
>
> >>>> Peter
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "Versions" group.
> >>> To post to this group, send email to versions@googlegroups.com.
> >>> To unsubscribe from this group, send email to 
> >>> versions+unsubscr...@googlegroups.com.
> >>> For more options, visit this group 
> >>> athttp://groups.google.com/group/versions?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups 
> >> "Versions" group.
> >> To post to this group, send email to versions@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> versions+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://groups.google.com/group/versions?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Versions" group.
> > To post to this group, send email to versions@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > versions+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/versions?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Versions" group.
To post to this group, send email to versions@googlegroups.com.
To unsubscribe from this group, send email to 
versions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/versions?hl=en.

Reply via email to