aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-07 16:44:01 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-07 16:44:01 +0000
commit3d81648195c943c6cbd827975b47c5c8c3455a61 (patch)
tree7e39e41737a298fb2a1e1c76acfdb8b71375ed10 /URPM.pm
parent4840285a53fb3466c267a3004420e85f52cf7ff4 (diff)
downloadperl-URPM-3d81648195c943c6cbd827975b47c5c8c3455a61.tar
perl-URPM-3d81648195c943c6cbd827975b47c5c8c3455a61.tar.gz
perl-URPM-3d81648195c943c6cbd827975b47c5c8c3455a61.tar.bz2
perl-URPM-3d81648195c943c6cbd827975b47c5c8c3455a61.tar.xz
perl-URPM-3d81648195c943c6cbd827975b47c5c8c3455a61.zip
Document trap in that braindead stupid API.
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm3
1 files changed, 3 insertions, 0 deletions
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<Warning>: $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<depslist> and the B<provides> from a synthesis file