Package: svn-load Version: 1.0-1 Severity: wishlist If the --wc option is specified, there is no use for the svn_url and svn_import_dir arguments, however svn-load complains:
ket% svn-load --no-prompt --wc $TMPDIR/vendor $TMPDIR/symfony Invalid syntax. Usage: svn-load [options] svn_url svn_import_dir dir_v1 [dir_v2 [..]] Options: -h, --help show this help message and exit -t tag_dir create a tag copy in tag_dir, relative to svn_url --no-prompt non-interactive mode - don't ask any questions --wc=working_copy use the already checked-out working copy at path instead of checking out a fresh working copy -m FILE, --move-map=FILE Load a mapping of regular expression patterns to lambda functions of match objects from FILE ket% Thank you for maintaining svn-load - it is a highly useful tool - and now even more so that I discovered the --wc option. Among the uses I have for svn-load, I make daily "vendor drops" from an upstream Subversion repository into my Subversion repository. Recently I started needing to track which upstream revision was loaded into my repository. With the --wc option, I can: #!/bin/sh # Exit immediately if a simple command exits with a non-zero status set -e # Make temporary directory TMPDIR=`mktemp -d` # Export REV=`svn export http://svn.symfony-project.com/branches/1.2 $TMPDIR/symfony | sed -n '$s/^Exported revision \([[:digit:]]\+\)\.$/\1/p'` # Checkout svn co http://example.com/svn/qubit/trunk/symfony/vendor $TMPDIR/vendor # Record vendor revision svn propset svn:vendor-rev $REV $TMPDIR/vendor # Load vendor drop svn-load --no-prompt --wc $TMPDIR/vendor http://example.com/svn/qubit/trunk/symfony vendor $TMPDIR/symfony # Delete temporary directory rm -rf $TMPDIR I wish that if the --wc option is specified, then the svn_url and svn_import_dir arguments could be dropped, and svn-load would not complain. - System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages svn-load depends on: ii python 2.5.2-3 An interactive high-level object-o ii python-svn 1.6.1-1.1 A(nother) Python interface to Subv svn-load recommends no packages. svn-load suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]