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

Re: BUG TRACKER: [svn export] please add options --exclude ITEM

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Tue, 18 Jun 2013 12:23:18 +0200

James Hanley wrote on Mon, Jun 17, 2013 at 13:32:11 -0400:
> I think this is a feature that could also benefit svn checkin, as many
> times I'm working on multiple disjoint functions

See 'svn changelist'?

> or there is a common config file that is needed for checkout and may
> require some tweaks (such as running on simulated hardware, etc) but
> usually shouldn't be checked in.
>

http://subversion.apache.org/faq.html#ignore-commit

> I would use this feature in both spots of checkin and export if available.
>
>
> On Sun, Jun 16, 2013 at 3:31 AM, Jari Aalto <jari.aalto_at_cante.net> wrote:
> > $ svn export -x ./test.data -x *.log -x scripts ../package-1.0+svn10.tar.gz
> >
> > Would make an archive content:
> >
> > ROOT
> > |
> > + - program.sh

I'll note that this is actually *two* feature requests:

1) Add a -x/--exclude flag
(I can see the reason for that, if the --excluded files are large.
Workaround that works today: use --depth and 'svn ls $URL' to fetch only
parts of the tree; may be easier with checkout than with export)

2) Add an "output to tar.gz" mode
(off-the-cuff response: why hardcode tar.gz? why not allow zip and
tar.bz2 as well?)
Received on 2013-06-18 12:24:07 CEST

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.