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

Re: FEATURE: Something like a 'svn rebuild'

From: Talden <talden_at_gmail.com>
Date: Sun, 25 May 2008 12:00:42 +1200

>> Ryan Schmidt from the users list helped me track down the problem which
>> apparently was that, somehow the pristine version of my local copy was
>> updated, but not the repository. I'm not sure what caused this perhaps it
>> was my then shaky net connection.
>>
>> His recommendation to me was to checkout a fresh copy and manually merge in
>> the changes. Fortunately, this is not a big deal since there were only a
>> couple of small files our of sync.
>
> Well, would it have been a big deal if there were many files out of
> sync? It's a very scriptable task.

Keep in mind that a fair representation of Subversion users don't know
how to 'script' anything and, of course, some platforms provide an
stronger scripting solution than others.

I think this is an excellent suggestion as it provides a means of
repairing a wedged WC which does happen occasionally.

I can imagine you have the following issues.

* Since you aren't updating the content, but instead only rewriting
the WC metadata you must be able to ascertain the correct revision (or
be told which revision).

* You would want to be able to specify whether new files should be
scheduled for addition and/or missing files scheduled for removal.
You may not always want rebuild to do this as these files may be
copies or renames.

Any other issues springing to mind?

--
Talden
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-25 02:00:58 CEST

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