patchwork-bot: Allow initial database to skip recent commits

To test patchwork-bot, it is helpful to create the initial database
without a certain number of the latest commits, so that on the next
execution, the "missing" commits will appear new, and will be used for
processing state changes. Add the --ancestors argument (defaulting to
0, the existing behavior), to provide this ability.

Signed-off-by: Kees Cook <>
Signed-off-by: Konstantin Ryabitsev <>
1 file changed