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

check-wc (new ruby program to check wcs for modifications or updates)

From: Richard Lewis <rpil2+check-wc_at_rtf.org.uk>
Date: Sun, 10 Aug 2008 21:22:32 +0100

Hi,

(hope this is the right list)

I have written a ruby program called check-wc to examine
working copies and see if they have been locally modified or if they are
out of date. It's a bit like svnversion except:
* it doesnt tell you the version just whther there are modifications or not
* "modifications" the presence of unversioned files, but switched files
do not count (the intention is that it reminds you when you forgot to
commit some changes, but switching a file or directory is probably not
something you need to care about)
* it can also tell you if files in the wc are out of date (ie that you could run "svn
up" and things would change)
* finally, it's written in ruby, so it might be useful as an example of
using the ruby bindings

It works pretty well for me, since November 2007 it seems [svn, version
1.4.2 (r22196) on debian etch; not tested against newer versions], and I
thought maybe it could be added to /contrib/client-side/ (or similar) so
other people could use it too.

Attached is the a bzip2'd tar of

*check-wc
 - the actual ruby script
*check-wc.1
 - man-page
*README
*NEWS
 - not really needed, but included for completeness

License is GPL v2 (not unwilling to modify this if necessary).

May have many bugs which I'd be happy to fix

Regards
Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-08-10 23:20:31 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.