Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336583

Summary: [director] Specify the behavior of -revert <tag>
Product: [Eclipse Project] Equinox Reporter: Pascal Rapicault <pascal>
Component: p2Assignee: Pascal Rapicault <pascal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: dj.houghton: review+
Version: 3.7   
Target Milestone: 3.7 RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Patch pascal: review?

Description Pascal Rapicault CLA 2011-02-07 22:28:23 EST
Because tags are not unique, we need to specify the behaviour of -revert <tag>.
The most likely behaviour is to return to the most recent one.
Comment 1 Pascal Rapicault CLA 2011-05-04 12:15:14 EDT
Created attachment 194735 [details]
Patch

-revert with a tag will pick the most recent tag.
Comment 2 DJ Houghton CLA 2011-05-04 13:03:35 EDT
Patch looks fine although it also needs to include an update to the doc to explicitly say what the behaviour of the operation is.
Comment 3 Pascal Rapicault CLA 2011-05-05 11:15:18 EDT
Patch released.