Merge or Cherry-Pick?

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


On Wed, Feb 2, 2011 at 1:49 PM, Pino Toscano <pino at kde.org> 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
>
>> http://quickgit.kde.org/?p=kdelibs.git&a=commit&h=449d49908ce610d9af
>> 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