[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:44:37 CET

On 11/2/05, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> On 11/2/05, David James <james82@gmail.com> wrote:
> > svn import and svn export are both very handy, but you can get away
> > without them if you have a good shell. Perhaps we should count export
> > and import as "additional commands"?
> I don't buy that, at least for export, since you can't do without it
> unless you're willing to double the amount of disk space you use.

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:
  svn co $REPO $WC
  cp -r $DIR/* $WC
  find $WC -type f | grep -v .svn | xargs svn add
  svn commit -m "Initial import" $WC



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

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