chiark / gitweb /
Move stack reset function to a shared location
authorKarl Hasselström <kha@treskal.com>
Sun, 21 Sep 2008 12:17:41 +0000 (14:17 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 21 Sep 2008 12:19:07 +0000 (14:19 +0200)
commit4ae6b67e627318b3e61a2aadbf6506f6178982b9
tree2c241fc56c3c4ba585ec6bec5617ef906354e38c
parent67b01c133fea32df4041ef68cb6d6f4d8fa1189e
Move stack reset function to a shared location

Move reset_stack() from commands/reset.py to lib/log.py, so that more
commands besides reset can use it. (No such commands exist currently,
but undo and redo will use it.)

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/reset.py
stgit/lib/log.py
stgit/lib/transaction.py