Merged from trunk 5132:5135
authorFabian Groffen <grobian@gentoo.org>
Sun, 26 Nov 2006 16:38:30 +0000 (16:38 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 26 Nov 2006 16:38:30 +0000 (16:38 -0000)
commit4fe20ccd59a93451eb651aa70f6ad7ca7b4e784e
tree926d04720ce20c43fe345ae1c432d5f373a9f3a7
parent343ffd8a844471abea38f7a5b95e249eaca3cdb7
Merged from trunk 5132:5135

Never overwrite an untouched config file and trigger config protection
instead (in case the new config has an unwanted change).  In cases where
an installed package in the same slot owns a protected file that will be
merged, bump the mtime on the installed file in order to ensure that it
isn't unmerged.  Thanks to Ciaran McCreesh <ciaranm@ciaranm.org> for his
suggestion on bug #8423, comment #40.

Update the dblink.isprotected() docstring.

For bug #8423, make etc-update preserve timestamps when possible.

svn path=/main/branches/prefix/; revision=5138
bin/etc-update
pym/portage.py