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

Re: svn commit: rev 1329 - trunk/subversion/svnadmin trunk/subversion/tests/clients/cmdline

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-02-20 05:04:46 CET

cmpilato@tigris.org writes:

> Author: cmpilato
> Date: 2002-02-20 03:36 GMT
> New Revision: 1329
> Modified:
> trunk/subversion/svnadmin/main.c
> trunk/subversion/tests/clients/cmdline/svnadmin_tests.py
> Log:
> Now, you can do:
> svnadmin lstxns REPOS_PATH | xargs svnadmin rmtxns REPOS_PATH

Pretty nice.

But if I were a consciencous repository administrator, I would never
execute such a line. What if some of those transactions were commits
in progress? Or updates in progress?

What I want is a command that is in between; it doesn't print the
whole txn tree, but it gives me *more* than just the txn name. I'd
want one txn per line, but divided into columns:

txn: 866 username: sussman created: 25-Feb-2002
txn: 901 username: cmpilato created: 02-Apr-2001
txn: 998 username: foo created: 03-May-2000

Then I could write a script to parse the fields, and say, remove all
transactions that are older than 2 weeks. Or remove all transactions
created by an employee who no longer works with the company...

Do you think we can have a 'middle' mode?

Or maybe all this repository adminstration should be happening via the
client, over the RA vtable. :-)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 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.