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

Re: [Subclipse-users] Reverting changes: What is revert and what does replace with do?

From: Johan Compagner <jcompagner_at_gmail.com>
Date: 2006-05-04 00:06:34 CEST

i just made a patch for that where revert does als revert/delete all none
committed files.
But revert doesn't do replace with latest because replace with latest is a
revert and an update at once.
But my path that i have now at:

doesn't do that also with replace with latest yet. Because that did go
through the same kind of code i patched.
But because also another co developer asked the same thing as you did i also
did patch the replace with latest behaviour so
that now revert and replace with both delete uncommitted files and replace
does also an update after it reverted.

Handling new files is just a bit strange in subclipse/svn (don't know which
one i really have to blame)
(regarding to patches or making branches directly of the working copy..
I will try if i can make that a bit easier.


On 5/3/06, Bradley Wagner <bradley.wagner@hannonhill.com> wrote:
> I saw similar discussions in other threads but nothing close enough
> that I could continue it.
> Basically, I don't understand how to use the "revert" or "replace
> with" functions to do what I want. In CVS, I'm use to being able to
> "replace with" and have it completely wipe out any local changes
> replacing with strictly the contents of the repository for a
> particular in branch/version/head.
> In SVN/Subclipse, however, any "new" files not under source control
> remain in the workspace and the workspace is still marked as dirty.
> Is there no equivalent way of wiping out all files in favor of the
> contents of the repository.
> In CVS, I remember this functionality being done automatically with
> replace, but also having the ability to do this in the Synchronize
> view with "override and update". In SVN, I can't figure out what
> "revert" is supposed to be doing.
> Also, while in a branch, what is the difference between replacing
> with "Base revision" and "Latest from repository".
> Bradley
> --
> Bradley Mitchell Wagner
> Software Developer
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu May 4 00:06:45 2006

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

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