portage patch
Sorry, not unmerging, but when emerging binary files.
Alan.
On Fri, 2010-07-09 at 23:41 +0100, Alan Hourihane wrote:
> When unmerging I bump into a duplicate name check. This patch fixes it
> for me...
>
> Alan.
>
> --- bad/pym/portage/dbapi/bintree.py 2010-04-30 08:52:37.000000000 +0000
> +++ good/pym/portage/dbapi/bintree.py 2010-04-30 08:52:53.000000000
> +0000
> @@ -939,7 +939,8 @@
> if filename is not None:
> new_filename = self.getname(cpv)
> self._ensure_dir(os.path.dirname(new_filename))
> - _movefile(filename, new_filename, mysettings=self.settings)
> + if filename != new_filename:
> + _movefile(filename, new_filename, mysettings=self.settings)
> if self._all_directory and
> self.getname(cpv).split(os.path.sep)[-2] == "All":
> self._create_symlink(cpv)
>
>
>
|