Login | Register
My pages Projects Community openCollabNet

Discussions > issues > Merge command won't allow "wrong" order of revisions

subclipse
Discussion topic

Back to topic list

Merge command won't allow "wrong" order of revisions

Author Alex Hunsley <subclipse-issues-list at ohmslaw dot org dot uk>
Full name Alex Hunsley <subclipse-issues-list at ohmslaw dot org dot uk>
Date 2007-04-13 02:19:32 PDT
Message I'm trying to do a "rollback" which there isn't a specific command for
in Subversion (yet).
According to the svn redbook, the way to do a rollback is just to do an
svn merge on the correct revision range:

  svn merge -r X:Y

where X is the current revision of the repository, and Y is the revision
you want to go back to.
So I've tried to do this in Subclipse's "merge" functionality, but no
dice: the UI will not let me put a 'from' revision that is later than
the 'to' revision. This apparently is a valid thing to do (according to
the redbook), and is useful, so any chance of allowing this? Is there a
good reason not to? (Idea: the UI could provide a warning of some sort
if it thinks the range is the "wrong way round", but still let you do it
if you really want to!)

Also, while I'm at it, what other ways are there to effectively do a
rollback from within subclipse? The other method I have worked out,
which seems to work, is as follows:
* right-click project/tree location you want to rollback, select Team ->
Show in Resource History
* in the history view, select *all revisions* from the latest back to
the revision you want to roll back to
* right-click on your selection and select "Revert all changes from ...."

This seems to do the trick, and so it should, logically speaking...

thanks!
lex

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Merge command won't allow "wrong" order of revisions Alex Hunsley <subclipse-issues-list at ohmslaw dot org dot uk> Alex Hunsley <subclipse-issues-list at ohmslaw dot org dot uk> 2007-04-13 02:19:32 PDT
Messages per page: