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

Re: [PATCH] Various little improvements for contrib/client-side/asvn

From: Ross Mark <rossm_at_controllingedge.com.au>
Date: Tue, 16 Sep 2008 11:38:41 +1000

 From the description given I'm happy to accept these changes so long as
they actually work :-) Some of the changes mentioned have been suggested
for quite some time and I'm glad that someone took the effort to do
them. Work and family commitments (3 yr old and 6 mth old) have
prevented me from following subversion developments. I'm just happy that
there is obviously at least one other person who is still using the script.

Personally I would need to keep with my original asvn script as I still
need to support symlinks. My company wrote our own svn client
application for upgrading our embedded device file systems in the field,
which doesn't need a working copy, this program hasn't been upgraded to
understand symlinks from subversion.

I'm not sure if anyone is interested in our application, we called it
svndelta. If people are let me know and I'll see if I can get it
released. In summary it only supports update, checkout and switch
operations. By not allowing mixed revisions, keyword expansion or eol
modifications we are able to remove the need for a base copy of the
files being checked out. We keep a single version identifier for the
entire filesystem. When an update is performed the working files are
used as reference for the deltas which get applied into a holding
directory. Once all the files are downloaded to the holding directory
they are then applied to the working filesystem so the changes are only
applied once the entire revision is available. Obviously it also
understands the asvn properties for symlinks, devices and ownership. We
have been running this program for a few years now and after performing
around 1000 upgrades we have yet to have a corrupted system.

Thanks for the interest

Ross

Daniel Shahaf wrote:
> Ping, CCing the script's author. (Apparently Ross doesn't have partial
> commit access yet?)
>
> Riccardo Murri wrote on Fri, 12 Sep 2008 at 16:22 +0200:
>
>> Hello,
>>
>> I've hacked the contributed "asvn" script, mainly to make it run on
>> Solaris with the default /bin/sh. Since the patch is
>> quite large, I attach both the patch and the patched asvn.
>>
>> Kind regards,
>> Riccardo Murri
>>
>> [[[
>>
>> asvn: Solaris compatibility and other little improvements.
>>
>> * contrib/client-side/asvn:
>> * Solaris compatibility (/bin/sh syntax + don't assume core
>> utilities are GNU versions).
>> * Allow setting paths to the 'svn' and 'find' utilities via
>> SVN and FIND environment variables.
>> * Removed symlink support, since it's now in SVN itself.
>> * Check that 'find' supports the "-printf" switch.
>> * Suppress SVN error messages when checking files/dirs that are
>> not registered in the repository.
>> * Command word can come after options.
>> * Honor "-q/--quiet" option.
>> * Exit with svn's exitcode.
>> * Use 'mktemp' for creating temporary files.
>> * No hardcoded paths to common binaries.
>> * Check that required UNIX system tools can be found in PATH.
>>
>> ]]]
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-16 19:25:29 CEST

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.