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

Re: repair timestamps of unchanged files

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-17 21:05:10 CET

Eric Noel <eric@rcs100.com> writes:

> This was reported in 2002 as issue #791. Has anyone revisited this
> since then? If you've got a bunch of unchanged files that get an
> updated timestamp (through touch, whatever), then svn becomes a huge
> dog... It was taking 17 minutes for an update. I've fixed the problem
> in my case, but it seems to me that a built-in way to correct for this
> would be very appreciated.

Subversion operations will "repair" the time stamp when both a) the
operation detects the problem, and b) the operation has a write lock,
however not many operations meet both criteria. A better interface
has been discussed in the past, but no conclusion was reached. I seem
to remember suggesting

  - svn cleanup --repair, a new flag
  - svn cleanup, could be made to do it unconditionally
  - svn status --repair, a new flag
  - svn repair, a new function

I think "svn revert --recursive" will make any repairs, but it will
also delete any local changes. I use

  $ SVN_EDITOR=/bin/false svn commit

We really need a better interface.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 17 21:06:04 2004

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