Preserve existing hardlinks during merge.
authorZac Medico <zmedico@gentoo.org>
Wed, 8 Dec 2010 19:23:48 +0000 (11:23 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 Dec 2010 19:39:57 +0000 (11:39 -0800)
commit88e7cb5c627063a79b6636bcae7734dfb35902e0
tree98116939892c665065d2019730bca8a0b4448c1f
parent616623d2fc4b907329dbc2f751a332fc12a41ba7
Preserve existing hardlinks during merge.

The previous code created hardlinks rather aggressively, which was
helpful as a workaround for lack of hardlinks in tarballs created
by quickpkg due to bug #185305. Since bug #338509, quickpkg tarballs
preserve hardlinks, so there's no need for aggressive hardlink
creation. Therefore, simply preserve existing hardlinks during merge,
by comparison of st_dev and st_ino from the source files.
pym/portage/dbapi/vartree.py