Merge or Cherry-Pick?

Dawit A adawit at
Wed Feb 2 18:53:37 GMT 2011

On Wed, Feb 2, 2011 at 1:49 PM, Pino Toscano <pino at> wrote:
> Alle mercoledì 2 febbraio 2011, Dawit A ha scritto:
>> Would someone be so kind to tell me how to undo accidentally pushed
>> commits to trunk ?
> $ git revert SHA
>> 4e8e3da89466f168f66bc3
> This commit, which is your "fix" for the share-mime-info version, is
> simply wrong, even for the 4.6 branch:
> - nothing guarantees you opening the executable directly allows you to
> find the string directly
> - nothing guarantees you that the string you want to find is actually
> there: other tha the fact that the executable could output the version
> string in bits, update-mime-database could be even a python/perl/rub/etc
> script
> - nothing guarantees you that the update-mime-database in PATH is the
> real executable oing the job: in debian/ubuntu/etc, `update-mime-
> database' is a shell script that avoid the mimetype regeneration during
> packages updates (leaving such job being run once at the end of the
> installation phase -- i.e. dpkg triggers), while leaving a direct
> invocation working as usual; this means your commit would have break
> support in debian/ubuntu
> Please discuss the solution in this ml, before commit it, thanks.

I know. I already discussed the idea with dfaure and discarded it. It
was accidentally commited like I stated above and I have already
reverted all my accidental commits...

More information about the kde-core-devel mailing list