[Bioc-devel] Cherry picking error - SiPSiC package

Martin Grigorov m@rt|n@gr|gorov @end|ng |rom gm@||@com
Mon Aug 14 16:41:19 CEST 2023


Hi,

Maybe I wasn't very clear: "SHA" should be replaced with the commit hash

For example:

$ git log --oneline -1
f367ed608 (HEAD -> openeuler-22.03-sp2, origin/openeuler-22.03-sp2) Update
all references of "22.03 LTS" to "22.03 LTS SP2"

Here the SHA is f367ed608.
So the command would be: git cherry-pick -x f367ed608

Regards,
Martin


On Mon, Aug 14, 2023 at 4:09 PM Daniel Davis <danieldavis000 using gmail.com>
wrote:

> Thank you Martin!
>
> I tried it. When I execute the git cherry-pick -x SHA command, I get
> "fatal: bad revision '<SHA without leftmost digit>' "
>
> Any idea?
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_1308354042402282384_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Mon, Aug 14, 2023 at 4:03 PM Martin Grigorov <martin.grigorov using gmail.com>
> wrote:
>
>> Hi Daniel,
>>
>> You could try `git cherry-pick -x SHA` instead. Where "SHA" is the commit
>> hash in devel branch. This way you will cherry-pick only your particular
>> commit.
>>
>> - git reset --hard
>> - git switch devel
>> - git log --oneline -1   # to get the SHA
>> - git switch RELEASE_3_17
>> - git pull --rebase
>> - git cherry-pick -x $SHA
>> - git push
>>
>> Regards,
>> Martin
>>
>>
>> On Mon, Aug 14, 2023 at 3:56 PM Daniel Davis <danieldavis000 using gmail.com>
>> wrote:
>>
>>> Hello everyone,
>>>
>>> I would like to update the description of the released version of my
>>> package.
>>> Following the developer guide, I executed the git checkout and pull
>>> commands on the devel branch, changed the description file as necessary,
>>> then committed and pushed it - everything was fine.
>>> However, when I try to checkout RELEASE_3_17 then execute git cherry-pick
>>> devel, a conflict error is thrown on the description file. Now that makes
>>> sense, but I'm not familiar enough with git to try and handle the
>>> situation
>>> myself.. So - what is the right thing to do if I would like to apply the
>>> devel version of the description file to the current release of the
>>> package?
>>>
>>> Thanks,
>>>
>>> Daniel
>>>
>>> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>> >
>>> Virus-free.www.avast.com
>>> <
>>> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
>>> >
>>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>>         [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> Bioc-devel using r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>>>
>>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list