[StGit PATCH 0/2] Patch stack logging
- From
Karl Hasselström <kha@treskal.com>
- Date
- Feb 14, 2008, 01:25 UTC
- Message-ID
- <20080214012119.22365.54526.stgit@yoghurt>
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 manipulationstgit/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@treskal.com
www.treskal.com/kalle