Skip to contentSkip to conversation

b4 not fetching proper patch

DISCUSSION Alexandre Belloni 2 participants 3 messages Oct 27, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

I'm not sure this is worth fixing but I though I would report it anyway:

I want to apply just this patch:
https://lore.kernel.org/linux-rtc/[email protected]/

However b4 am -p linux-rtc -c -t -s -l -P _ -o - [email protected] ends up with:

Grabbing thread from lore.kernel.org/linux-rtc
Checking for newer revisions on https://lore.kernel.org/linux-rtc/
Analyzing 20 messages in the thread
Will use the latest revision: v2
You can pick other revisions using the -vN flag
---
Specified msgid is not present in the series, cannot cherry-pick

The issue here is that this series has been sent as a reply to another series labeled v2 that it supersedes and b4 insists in using this v2.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#1 lore raw
Quoted 18 lines · Alexandre Belloni

Hello,

I'm not sure this is worth fixing but I though I would report it anyway:

I want to apply just this patch:
https://lore.kernel.org/linux-rtc/[email protected]/

However b4 am -p linux-rtc -c -t -s -l -P _ -o - [email protected] ends up with:

Grabbing thread from lore.kernel.org/linux-rtc
Checking for newer revisions on https://lore.kernel.org/linux-rtc/
Analyzing 20 messages in the thread
Will use the latest revision: v2
You can pick other revisions using the -vN flag
---
Specified msgid is not present in the series, cannot cherry-pick

Quoted 2 lines

The issue here is that this series has been sent as a reply to another series labeled v2 that it supersedes and b4 insists in using this v2.

Oooh, gosh, yeah:

-> [PATCH v2 N/3]
\-> [PATCH N/2]
\-> [PATCH v2 N/2]

I'm sorry, it's one of those times when it's never going to be clear what's been intended. :)

That said, it's a legitimate bug -- if the msgid we're cherry-picking is not in the latest series revision, we should automatically select the revision containing the requested msgid. You can still get the patch you need in this particular case if you pass -v1 to the command you used, but it should work without forcing the -v1.

I'll poke to see what can be done.

-K

#2 lore raw
Quoted 29 lines · Konstantin Ryabitsev
Quoted 18 lines · Alexandre Belloni

Hello,

I'm not sure this is worth fixing but I though I would report it anyway:

I want to apply just this patch:
https://lore.kernel.org/linux-rtc/[email protected]/

However b4 am -p linux-rtc -c -t -s -l -P _ -o - [email protected] ends up with:

Grabbing thread from lore.kernel.org/linux-rtc
Checking for newer revisions on https://lore.kernel.org/linux-rtc/
Analyzing 20 messages in the thread
Will use the latest revision: v2
You can pick other revisions using the -vN flag
---
Specified msgid is not present in the series, cannot cherry-pick

Quoted 2 lines

The issue here is that this series has been sent as a reply to another series labeled v2 that it supersedes and b4 insists in using this v2.

Oooh, gosh, yeah:

-> [PATCH v2 N/3]
\-> [PATCH N/2]
\-> [PATCH v2 N/2]

Quoted 9 lines

I'm sorry, it's one of those times when it's never going to be clear what's been intended. :)

That said, it's a legitimate bug -- if the msgid we're cherry-picking is not in the latest series revision, we should automatically select the revision containing the requested msgid. You can still get the patch you need in this particular case if you pass -v1 to the command you used, but it should work without forcing the -v1.

Yeah, that is what I did. I then applied with git am as usual. The last issue was that b4 ty didn't seem to track that patch, I'm not sure this is related though.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com