Re: b4 tui: Old serieses not removed

Konstantin Ryabitsev <[email protected]>
Newsgroups org.kernel.linux.tools
Message-ID <20260427-adept-bonobo-of-prestige-e729eb@lemur>
On Mon, Apr 27, 2026 at 04:56:52AM +0900, Mark Brown wrote:
> As part of an effort to sync review state between machines I have
> arranged for the set of b4/review branches on the destination machine to
> be the same as it was on the source.

So, let's call these "machineA" and "machineB". You do most work on machineA,
but machineB runs a periodic git fetch to get all the review branches from
machineA, correct?

> When I open b4 tui and run 'U' to
> update all branches it reports the existance of several hundred more
> branches, looking at them going past and what's in the UI I think most
> but not all of them are thanked branches which I later archived on the
> source machine, the branches are gone but they remain in the UI.

This is the part that's confusing to me, so I need clarification. I assume the
following happened:

- These series were reviewed on machineA (creating b4/review/* branches for
  them).
- MachineB runs periodic fetches from machineA, which creates these
  b4/review/* branches on machineB.
- The seriews are applied, thanked, and archived on machineA
- When you open "b4 review tui" on machineB, these branches come back to life
  as still being reviewed

Is this the correct description of your workflow? If so, are you running the
sync script with --prune, so that archived branches are properly removed on
machineB to match machineA?

Just trying to fully understand the sequence of events.

-- 
KR
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.