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

Re: [RFC] 'basic/additional command set' - adding svn subcommands without destroying our learning curve

From: David James <james82_at_gmail.com>
Date: 2005-11-02 20:53:52 CET

On 11/2/05, David James <james82@gmail.com> wrote:
> svn export is extremely useful, but you can easily replicate it using
> shell commands. For example:
> svn co $REPO $WC
> find $WC -name .svn | xargs rm -rf
>
> For svn import:
> [snip typos]

Here's a better implementation of svn import:
 svn co $REPO $DIR
 svn add $DIR/*
 svn commit -m "Initial import" $DIR

(Note: the above implementation makes "$DIR" a WC, which is slightly
different from the behaviour of "svn import", but is usually what I
want anyway.)

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
Received on Wed Nov 2 20:55:03 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.