The following adds a --patch flag to "stg refresh". I mainly needed it to edit the log message in patches down the stack, but with some work it could be used to record changes in another file and come back. That would require to pop patches with --keep, and if we ask to only record a subset of the changes, we would need to implement "push --keep" first. This patch is not perfect, since it reverses a list twice, but I did not find an elegant way to make it better. Python gurus, feel free to improve this :) While I was at it, I noticed that "stg goto" need not revert the applied list if we're going to an unapplied patch (sorta compensate my extraneous revert above ;), and I noticed a DWIM behaviour on the (should-be)-erroneous "refresh --ack --sign". -- Yann Dirson <ydirson@xxxxxxxxxx> | Debian-related: <dirson@xxxxxxxxxx> | Support Debian GNU/Linux: | Freedom, Power, Stability, Gratis http://ydirson.free.fr/ | Check <http://www.debian.org/> - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html