[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Inverse of svn export (only create or update .svn / _svn directories)

From: Matthew Hannigan <mlh_at_zip.com.au>
Date: 2007-03-03 06:27:38 CET

On Sat, Mar 03, 2007 at 04:23:38PM +1100, Matthew Hannigan wrote:
>
> Here you go .. (attached)
>
> It doesn't do _svn directories, but then
> it's only for Unix anyway .. or cygwin I guess.
>
> Bug fixes gratefully accepted.

Heh, I can see an improvement to be made already;
use the 0 eol features of gnu's find and cpio:

i.e.
do
        find . -print0 | grep '/\.svn' | cpio -pdm0 "$checkout"
instead of
        find . -print | grep '/\.svn' | cpio -pdm "$checkout"

(I originally wrote this on solaris which has no such option)

Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 3 06:36:42 2007

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.