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

Re: Stale Transactions

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-09-14 02:51:32 CEST

Hilco Wijbenga wrote:
> Hi all,
>
> I was wondering about when it's safe to remove a stale transaction.
> Transactions show up as directories on the server, e.g. 11290-1.txn/
> and 13548-2.txn/.
>
> In general, if I see N-1.txn/ and the current revision is N or higher,
> does that mean I can safely remove the N-1.txn/ directory (and any
> N-2.txn/, N-3.txn/, etcetera directories)? Or do I have to wait until
> N+1 has been committed? Or is it not that easy to determine whether a
> transaction is stale or not?

I would use

svnadmin lstxns PATH

to get all the transactions then for each one, get the date from it

svnlook date -t TXN_ID PATH

Regards,
Blair

-- 
Blair Zajac, Ph.D.
http://www.orcaware.com/training/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 14 02:48:22 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.