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

Re: Forcing an update

From: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-10 17:06:47 CEST

On Wednesday 08 June 2005 21:11, Dale Worley wrote:
> > From: Ron Gilbert [mailto:lists@rzweb.com]
> >
> > Is there a way to force new revisions down, ignoring any and
> > all changes (conflicts) that might be there?
>
> "Delete and check out fresh" would work, but I'm sure you've thought about
> that and discarded it already. You might try "svn revert -R" followed by
> "svn update". But discarding local changes is something Subversion does
> not like.
>
> Have you considered using rsync or the Unison file synchronizer
> (with -force)? It seems that Subversion is overkill for your application.

There are one use case where it could be very useful

A script could be a help for users but what users have changed has priority
over what the script has changed.

So reverting everything unconditionally is not good, as the script has made
changes to its local copy and wants to commit these changes if possible.

(However personally I would prefer instead of a force-update a special commit
that skips conficts.)

Have a nice day!

>
> Dale
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 10 17:21:53 2005

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.