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

svntool

From: Dan Bush <dan.bush_at_gmail.com>
Date: 2006-01-18 19:04:36 CET

I created a nifty svn tool to deal manage props. Anyone interested?
How do I contrib?

Here is the usage (see explanation at bottom) and the tool is attached.
====================================================

svnprops comes with ABSOLUTELY NO WARRANT.
Copyright (C) Alpha-Omega by Daniel Bush <dan.bush@gmail.com>

svnprops is a fancy pants smart wrapper around the svn propadd and propdel
commands. By default, svnprops operates recursively on the current
directory. Properties specified via command line arguments will override the
defaults.

Usage: svnprops [OPTION]... [[REGEX=prop=value];...] [FILE]...

OPTIONS SUMMARY:

-d, --delete propdel
-h, --help show this help screen
-l, --list-defaults list the default properties
-n, --dry-run show what would have happened
    --no-defaults don't set default properties
-N, --non-recursive operate on single directory only
-s, --set propset (default)
-v, --verbose be extra loud
    --version output version information
-q, --quiet be extra quiet

EXAMPLE USAGE:

 * Recursively sets the default properties on the current directory:

   svnprops

  * File list supplied via stdin:

   find . -name *.java | svnprops

  * Set a custom / non default property on myfile:

   svnprops myfile=foo=bar myfile

Why the hell do I need this?

Because SVN has no repository side mechanism which compliments client side
auto-props! You may be thinking about using the hook scripts but, note the
WARNING in the svn documentation!

Clients without auto-props enabled and the proper properties defined, end up
adding and importing resources without setting the proper properties such as
svn:eol-style, svn:mime-type, etc ...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Jan 19 01:29:38 2006

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.