After having an off list discussion with Bisho, and then discovering the
filename
quoting problems, I've extensively reworked the asvn script. I've still
got
several things to fix, but I really need to work on checking stuff in,
so I'm
submitting this patch set for now. Expect further fixes in a month or
so.
Things that this script does:
o Commented out the code dealing with symbolic links since subversion
now has that capability built in.
o Eliminated the need to traverse the directory tree more than once.
It now does a single pass, checking each file for device type and
Then file permissions.
o Modified some of the 'find' calls as needed to eliminate processing
entire subdirectory trees that are not under subversion control.
o Filenames with "characters that need to be quoted" should now work.
o I've added an option "prework", or "pre" for short, that makes this
script do its work without calling the svn executable when it is
done.
o Unlike the previous patch, this one does not attempt to fix the
indentation issues.
Things that still need to be fixed:
o Devices are saved with absolute paths rather than relative paths,
so
creating a new working directory will not also recreate the devices
correctly. (They won't be created at all, the resulting name is
completely incorrect)
o asvn does not take into account the fact that svn can work on
remote
directories (ie, not your present working directory). asvn only
works
if executed from within an svn working directory.
-Scott L. Miller
Senior Network Engineer
Priority Technologies, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 30 17:35:01 2006