As bug 196561 notes, the description in PMS of the ~ operator differs from Portage behaviour when a revision part is specified: specifically, ~foo/bar-1-r1 matches all of foo/bar-1, foo/bar-1-r1 and foo/bar-1-r2 in Portage, but only the latter two in PMS. In the past there has been at least one ebuild that appeared to expect the PMS behaviour, however there are none in the current tree. repoman should disallow this usage, to prevent such confusion from happening in future, as it behaves the same as the equivalent with no revision part specified and therefore there is no sensible reason to use it.
> As bug 196561 notes, the description in PMS of the ~ operator differs from > Portage behaviour It is not a problem of Portage or RepoMan if PMS is ignoring reality.
(In reply to comment #1) > > As bug 196561 notes, the description in PMS of the ~ operator differs from > > Portage behaviour > > It is not a problem of Portage or RepoMan if PMS is ignoring reality. > The bug report contains a full explanation of why this enhancement is desired. Feel free to discuss if you disagree.
Created attachment 207441 [details, diff] 0001-repoman-warning-for-useless-with-revision-usage.patch This seems to do it....
(In reply to comment #3) > Created an attachment (id=207441) [details] > 0001-repoman-warning-for-useless-with-revision-usage.patch Thanks, this is in svn r14629.
This is fixed in 2.1.7.2 and 2.2_rc47.