Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336583 - [director] Specify the behavior of -revert <tag>
Summary: [director] Specify the behavior of -revert <tag>
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.7 RC1   Edit
Assignee: Pascal Rapicault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 22:28 EST by Pascal Rapicault CLA
Modified: 2011-05-05 11:15 EDT (History)
0 users

See Also:
dj.houghton: review+


Attachments
Patch (1.11 KB, patch)
2011-05-04 12:15 EDT, Pascal Rapicault CLA
pascal: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.