public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH] ~ ignores revision parts
@ 2009-10-18  0:38 David Leverton
  2009-11-03 14:59 ` Ciaran McCreesh
  0 siblings, 1 reply; 2+ messages in thread
From: David Leverton @ 2009-10-18  0:38 UTC (permalink / raw
  To: gentoo-pms; +Cc: David Leverton

The current tree doesn't appear to rely on any particular behaviour,
so match what Portage does.
---
 dependencies.tex |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index 2ad0185..2d0e603 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -307,9 +307,8 @@ The following operators are available:
     specified has an asterisk immediately following it, a string prefix comparison is
     used instead. When an asterisk is used, the specification must remain valid if the
     asterisk were removed. (An asterisk used with any other operator is illegal.)
-\item[\t{\textasciitilde}] Equal to the specified version, except the revision part of the matching
-    package may be greater than the revision part of the specified version (\t{-r0} is
-    assumed if no revision is explicitly stated).
+\item[\t{\textasciitilde}] Equal to the specified version, except the revision parts of
+    the versions being compared are ignored.
 \item[\t{>=}] Greater than or equal to the specified version.
 \item[\t{>}] Strictly greater than the specified version.
 \end{description}
-- 
1.6.4.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [gentoo-pms] [PATCH] ~ ignores revision parts
  2009-10-18  0:38 [gentoo-pms] [PATCH] ~ ignores revision parts David Leverton
@ 2009-11-03 14:59 ` Ciaran McCreesh
  0 siblings, 0 replies; 2+ messages in thread
From: Ciaran McCreesh @ 2009-11-03 14:59 UTC (permalink / raw
  To: David Leverton; +Cc: gentoo-pms, David Leverton

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

On Sun, 18 Oct 2009 01:38:18 +0100
David Leverton <levertond@googlemail.com> wrote:
> The current tree doesn't appear to rely on any particular behaviour,
> so match what Portage does.

Should probably say it's undefined behaviour if there's a revision in
the specified version.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-03 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18  0:38 [gentoo-pms] [PATCH] ~ ignores revision parts David Leverton
2009-11-03 14:59 ` Ciaran McCreesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox