I think this is a feature that could also benefit svn checkin, as many
times I'm working on multiple disjoint functions 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.

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.aa...@cante.net> wrote:

>
> Hi,
>
> I'd like to open the following feature request in the
> <http://subversion.tigris.org/issue-tracker.html>. Please advice.
>
> DESCRITION
>
> Please add to "svn export" option:
>
>     -x, --exclude ITEM
>
> which could be given multiple times. The option would exclude files and
> paths relative to the current repository root from the final output.
>
> The pattern could be:
>
>     - String to match path
>     - OR shell-like pattern to match path (allowing "*" and "[]")
>     - OR regular expression (the best)
>
> MOTIVATION
>
> Many times the repository contains private development files that should
> not be included in PACKAGE-VERSION.tar.gz
>
> An example:
>
>     ROOT
>     | program.sh
>     |
>     | test.data
>     | output.log
>     |
>     +- scripts/
>        my-own.sh
>        not-publishable.sh
>
>     $ svn export -x ./test.data -x *.log -x scripts
> ../package-1.0+svn10.tar.gz
>
> Would make an archive content:
>
>     ROOT
>     |
>     + - program.sh
>
> This is a snapshop from VCS tree. Different from if there would have been a
> Makefile to do official release in target "make dist".
>
> Jari
>
>

Reply via email to