StGit: kha/{safe,experimental} updated
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 14, 2008, 01:43 UTC
- Message-ID
- <20080514014309.GA17955@diana.vm.bytemark.co.uk>
kha/safe has improved version handling: "stg --version" will now present a detailed version number just like git does:
$ stg --version Stacked GIT 0.14.2.152.g77bd
kha/safe also has an improvement/bugfix to the emacs mode: it will automatically cd up to the root of your worktree, just like git's emacs mode has done since forever.
kha/experimental has a new command, stg redo. The combination undo + redo makes it easy to move back and forth in the patch stack history.
-+-
The following changes since commit d9b2f20a72706d6b4f553a8a8e25bd67f87ed616:
Karl Hasselström (1):
Use test_cmp instead of diff -u in the test suiteare available in the git repository at:
git://repo.or.cz/stgit/kha.git safe
Karl Hasselström (4):
Remove "stg" from start of log messages
Import version to a separate namespace
Better StGit version tracking
Emacs mode: automatically cd up to root of worktreecontrib/stgit.el | 13 ++++++++++- setup.py | 14 ++++++----- stgit/.gitignore | 1 + stgit/commands/clean.py | 2 +- stgit/commands/coalesce.py | 2 +- stgit/commands/commit.py | 2 +- stgit/commands/edit.py | 2 +- stgit/commands/goto.py | 2 +- stgit/commands/uncommit.py | 2 +- stgit/version.py | 52 +++++++++++++++++++++++++++++++++++++++++++- 10 files changed, 78 insertions(+), 14 deletions(-)
-+-
The following changes since commit 52144ce5f2bfb1268aee4a9999821987f8892dbf:
Karl Hasselström (1):
Emacs mode: automatically cd up to root of worktreeare available in the git repository at:
git://repo.or.cz/stgit/kha.git experimental
Karl Hasselström (20):
Disable patchlog test for "stg new"
Convert "stg new" to the new infrastructure
Refactor --author/--committer options
Let "stg new" support more message options
Emacs mode: use "stg new --file"
Convert "stg delete" to the new infrastructure
Emacs mode: delete patches
Prevent most commands from running when there are conflicts
Add property with a list of all patch names
Library functions for tree and blob manipulation
Write to a stack log when stack is modified
Add utility function for reordering patches
New command: stg reset
Log conflicts separately
Log conflicts separately for all commands
Add a --hard flag to stg reset
Don't write a log entry if there were no changes
Move stack reset function to a shared location
New command: stg undo
New command: stg redocontrib/stgit.el | 33 ++++-- stgit/commands/branch.py | 19 ++- stgit/commands/clean.py | 2 +- stgit/commands/coalesce.py | 6 +- stgit/commands/commit.py | 13 ++- stgit/commands/common.py | 41 +++---- stgit/commands/delete.py | 76 +++++-------- stgit/commands/diff.py | 2 +- stgit/commands/edit.py | 28 +---- stgit/commands/export.py | 2 +- stgit/commands/files.py | 2 +- stgit/commands/id.py | 2 +- stgit/commands/log.py | 2 +- stgit/commands/mail.py | 2 +- stgit/commands/new.py | 97 +++++++++------- stgit/commands/patches.py | 2 +- stgit/commands/redo.py | 52 +++++++++ stgit/commands/reset.py | 61 ++++++++++ stgit/commands/series.py | 2 +- stgit/commands/show.py | 2 +- stgit/commands/status.py | 3 +- stgit/commands/top.py | 2 +- stgit/commands/uncommit.py | 5 +- stgit/commands/undo.py | 49 ++++++++ stgit/lib/git.py | 154 +++++++++++++++++++++----- stgit/lib/log.py | 265 ++++++++++++++++++++++++++++++++++++++++++++ stgit/lib/stack.py | 8 ++ stgit/lib/transaction.py | 93 ++++++++++++--- stgit/main.py | 8 ++ stgit/utils.py | 50 ++++++++ t/t1400-patch-history.sh | 2 - t/t1600-delete-one.sh | 8 +- t/t3100-reset.sh | 151 +++++++++++++++++++++++++ t/t3101-reset-hard.sh | 56 +++++++++ t/t3102-undo.sh | 86 ++++++++++++++ t/t3103-undo-hard.sh | 56 +++++++++ t/t3104-redo.sh | 122 ++++++++++++++++++++ 37 files changed, 1339 insertions(+), 225 deletions(-) create mode 100644 stgit/commands/redo.py create mode 100644 stgit/commands/reset.py create mode 100644 stgit/commands/undo.py create mode 100644 stgit/lib/log.py create mode 100755 t/t3100-reset.sh create mode 100755 t/t3101-reset-hard.sh create mode 100755 t/t3102-undo.sh create mode 100755 t/t3103-undo-hard.sh create mode 100755 t/t3104-redo.sh
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle