So here's what I have this far. It writes a log that's close to the format I want, but doesn't do anything with it yet. It's not in kha/experimental yet; it seems to work OK, but it leaves a log behind that'll have to be cleaned up manually when the format changes, which it will. --- Karl Hasselström (2): Write to a stack log when stack is modified Library functions for tree and blob manipulation stgit/commands/branch.py | 18 ++++-- stgit/commands/clone.py | 3 + stgit/commands/float.py | 3 + stgit/commands/fold.py | 3 + stgit/commands/imprt.py | 3 + stgit/commands/init.py | 3 + stgit/commands/pick.py | 3 + stgit/commands/pop.py | 3 + stgit/commands/pull.py | 3 + stgit/commands/push.py | 6 +- stgit/commands/rebase.py | 4 + stgit/commands/refresh.py | 4 + stgit/commands/rename.py | 3 + stgit/commands/resolved.py | 4 + stgit/commands/sink.py | 3 + stgit/commands/sync.py | 5 +- stgit/lib/git.py | 139 +++++++++++++++++++++++++++++++++++++------- stgit/lib/log.py | 60 +++++++++++++++++++ stgit/lib/transaction.py | 3 + 19 files changed, 229 insertions(+), 44 deletions(-) create mode 100644 stgit/lib/log.py -- Karl Hasselström, kha@xxxxxxxxxxx www.treskal.com/kalle - 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