How to revert a revision? [message #489311] |
Fri, 02 October 2009 11:36 |
Eclipse User |
|
|
|
Originally posted by: joerg.von.frantzius.artnology.com
Hi,
I just had the problem that I committed several files in one revision,
and now I want to undo that commit. What would be the easiest way of
doing this using subversive?
It would be great if it was possible to select the revision in one of
its files' history and have a "Get previous contents" menu item. Then a
dialog should ask whether you want to get the previous contents only for
the single file you were looking at, or for all of the revision's
affected files.
Or did I not see the obvious here somewhere?
Regards,
Jörg
|
|
|
|
|
|
Re: How to revert a revision? [message #491848 is a reply to message #491727] |
Fri, 16 October 2009 07:59 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Jorg,
If you need to 'revert' your changes I'd advice you to use reversed merge in
compare to 'Get Content' action. Reversed merge is like an ordinary merge
operation, it takes into account history of resources. 'Get Content' action
for directory performs an export, for file - get content.
So if you need to simply get content of resource on certain revision you can
use Get Gontent action; otherwise you should use reversed merge.
> On 10/15/09 13:51, Igor Burilo wrote:
>>> It would be great if it was possible to select the revision in one of
>>> its
>>> files' history and have a "Get previous contents" menu item.
>> There's already such a functionality in Subversive: call Show History
>> from
>> your working copy (it's important to NOT call Show History from
>> repository
>> because in that case there will not be relation between history and local
>> project), then right-click needed revision or resource and you will find
>> "Get Content" action.
>
> Hello Igor,
>
> does this do a reverse merge? Or is there another way to do so? I would
> always prefer a reversed
> merge because this clearly indicates your intention: just reverting
> without further changes.
>
> Cheers, Jorg
>
>>
>>> Hi,
>>>
>>> I just had the problem that I committed several files in one revision,
>>> and now I want to undo that commit. What would be the easiest way of
>>> doing this using subversive?
>>>
>>> It would be great if it was possible to select the revision in one of
>>> its files' history and have a "Get previous contents" menu item. Then a
>>> dialog should ask whether you want to get the previous contents only for
>>> the single file you were looking at, or for all of the revision's
>>> affected files.
>>>
>>> Or did I not see the obvious here somewhere?
>>>
>>> Regards,
>>> Jorg
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06540 seconds