From 3d81648195c943c6cbd827975b47c5c8c3455a61 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 7 Dec 2005 16:44:01 +0000 Subject: Document trap in that braindead stupid API. --- URPM.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/URPM.pm b/URPM.pm index 04c3e2d..4a4525e 100644 --- a/URPM.pm +++ b/URPM.pm @@ -265,6 +265,9 @@ If the optional parameter $nopromoteepoch is true, and if the 2nd range has no epoch while the first one has one, then the 2nd range is assumed to have an epoch C<== 0>. +B: $nopromoteepoch actually defaults to 1, so if you're going to +pass a variable, make sure undef is treated like 1, not 0. + =item $urpm->parse_synthesis($file, [ callback => sub {...} ]) This method gets the B and the B from a synthesis file -- cgit v1.2.1