Xavier wrote:
On Sat, Jun 7, 2008 at 6:05 PM, Allan McRae <mcrae_allan@hotmail.com> wrote:
The patch fixes the warning messages when syncing a package where the local version is newer that the db version. Also, all messages are suppressed when using --print-uris and messages about upgrading or reinstalling are suppressed when using --downloadonly
Signed-off-by: Allan McRae <mcrae_allan@hotmail.com> ---
Did you see this : http://archlinux.org/pipermail/pacman-dev/2008-June/011994.html ? I changed the value of pkg_vercmp to provide more informations. I also removed all these messages because I finally found them useless. But if you disagree, you might be able to use the more detailed result of pkg_vercmp to provide a better output.
Um, no.... I missed that completely. I think your version is the much cleaner way to do this. However, it still prints the warning messages ("forcing upgrade" & "is newer than") in _alpm_pkg_compare_versions when using --print-uris and --downloadonly. Allan