diff options
author | Norbert Nemec <Norbert@Nemec-online.de> | 2011-09-12 10:13:12 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@gmail.com> | 2011-09-12 10:13:12 +0100 |
commit | 0cb4a49f1c69c1954e723206a4d992e100b7daef (patch) | |
tree | 965632e8cebbe84548b0005940b3fdd6fafb88cd | |
parent | aa99027f77df6a5890872c02061d492c3a13c74e (diff) | |
download | stgit-0cb4a49f1c69c1954e723206a4d992e100b7daef.tar.gz |
Correct several transaction/log messages
Signed-off-by: Norbert Nemec <Norbert@Nemec-online.de>
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
-rw-r--r-- | stgit/commands/float.py | 2 | ||||
-rw-r--r-- | stgit/commands/push.py | 2 | ||||
-rw-r--r-- | stgit/commands/unhide.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/stgit/commands/float.py b/stgit/commands/float.py index bb89567..25bdb2f 100644 --- a/stgit/commands/float.py +++ b/stgit/commands/float.py @@ -75,7 +75,7 @@ def func(parser, options, args): iw = stack.repository.default_iw clean_iw = (not options.keep and iw) or None - trans = transaction.StackTransaction(stack, 'sink', + trans = transaction.StackTransaction(stack, 'float', check_clean_iw = clean_iw) try: diff --git a/stgit/commands/push.py b/stgit/commands/push.py index 3dc9c8c..4a6c28e 100644 --- a/stgit/commands/push.py +++ b/stgit/commands/push.py @@ -67,7 +67,7 @@ def func(parser, options, args): stack = directory.repository.current_stack iw = stack.repository.default_iw clean_iw = (not options.keep and iw) or None - trans = transaction.StackTransaction(stack, 'pop', + trans = transaction.StackTransaction(stack, 'push', check_clean_iw = clean_iw) if options.number == 0: diff --git a/stgit/commands/unhide.py b/stgit/commands/unhide.py index 89750e2..4a1b07e 100644 --- a/stgit/commands/unhide.py +++ b/stgit/commands/unhide.py @@ -37,7 +37,7 @@ directory = common.DirectoryHasRepositoryLib() def func(parser, options, args): """Unhide a range of patch in the series.""" stack = directory.repository.current_stack - trans = transaction.StackTransaction(stack, 'hide') + trans = transaction.StackTransaction(stack, 'unhide') if not args: parser.error('No patches specified') |