Split the --replacepkgs hack to a helper function and document it
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 1 Jun 2011 07:00:04 +0000 (10:00 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 1 Jun 2011 07:06:18 +0000 (10:06 +0300)
commit030e54a666953ee7ba4fee210887d82eb21d4bcf
tree5172e3f681ccaff6b554b76ac0f75fa013fe363f
parentcaa23a97729e7a6e15f26c0722f9ba0e773d3b6c
Split the --replacepkgs hack to a helper function and document it
- Makes the huge rpmpsmStage() that little bit smaller, this
  special-case code does not belong inline there. Also gets rid
  of couple of dead assignments and unnecessary variable.
- Don't bother unless RPMPROB_FILTER_REPLACEPKG is set, it's not
  terribly expensive but its also wholly unnecessary in the normal case
- Document how the dang thing "works"
lib/psm.c