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