Write to a stack log when stack is modified
authorKarl Hasselström <kha@treskal.com>
Sun, 21 Sep 2008 12:17:40 +0000 (14:17 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 21 Sep 2008 12:19:07 +0000 (14:19 +0200)
commit117ed129a470c5cdae3addb43ff6f2d04f3e5409
tree13501459c04ce8128155f0a7eec314f889312b3a
parenta0ce5562122f6536329de1dc4f3e460032e02cca
Write to a stack log when stack is modified

Create a log branch (called <branchname>.stgit) for each StGit branch,
and write to it whenever the stack is modified.

Commands using the new infrastructure write to the log when they
commit a transaction. Commands using the old infrastructure get a log
entry write written for them when they exit, unless they explicitly
ask for this not to happen.

The only thing you can do with this log at the moment is look at it.

Signed-off-by: Karl Hasselström <kha@treskal.com>
31 files changed:
stgit/commands/branch.py
stgit/commands/clone.py
stgit/commands/common.py
stgit/commands/diff.py
stgit/commands/files.py
stgit/commands/float.py
stgit/commands/fold.py
stgit/commands/hide.py
stgit/commands/imprt.py
stgit/commands/log.py
stgit/commands/mail.py
stgit/commands/patches.py
stgit/commands/pick.py
stgit/commands/pop.py
stgit/commands/pull.py
stgit/commands/push.py
stgit/commands/rebase.py
stgit/commands/refresh.py
stgit/commands/rename.py
stgit/commands/repair.py
stgit/commands/resolved.py
stgit/commands/show.py
stgit/commands/sink.py
stgit/commands/status.py
stgit/commands/sync.py
stgit/commands/unhide.py
stgit/lib/git.py
stgit/lib/log.py [new file with mode: 0644]
stgit/lib/stack.py
stgit/lib/transaction.py
stgit/main.py