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:23:48 +0000 (11:23 -0800)
commitf8cb556ac6680b8e3d8c3090c3cb7abae04cb242
treed9e804a19b57a48355ace49b3f1551ffcd088092
parent4c47e5857515ea69150fb1d7731e4a6c88b4476e
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