chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic bash completion
[stgit]
/
stgit
/
commands
/
float.py
diff --git
a/stgit/commands/float.py
b/stgit/commands/float.py
index 93bb69b0720d994ff67bc71e4875ae03d9a9795f..7c3dcdf18d03b682c5d7d7f1515a4b0a2a690aa7 100644
(file)
--- a/
stgit/commands/float.py
+++ b/
stgit/commands/float.py
@@
-20,7
+20,7
@@
import sys, os
from stgit.argparse import opt
from stgit.commands.common import *
from stgit.utils import *
from stgit.argparse import opt
from stgit.commands.common import *
from stgit.utils import *
-from stgit import stack, git
+from stgit import
argparse,
stack, git
help = 'Push patches to the top, even if applied'
kind = 'stack'
help = 'Push patches to the top, even if applied'
kind = 'stack'
@@
-32,6
+32,8
@@
necessary pop and push operations will be performed to accomplish
this. The '--series' option can be used to rearrange the (top) patches
as specified by the given series file (or the standard input)."""
this. The '--series' option can be used to rearrange the (top) patches
as specified by the given series file (or the standard input)."""
+args = [argparse.patch_range(argparse.applied_patches,
+ argparse.unapplied_patches)]
options = [
opt('-s', '--series', action = 'store_true',
short = 'Rearrange according to a series file')]
options = [
opt('-s', '--series', action = 'store_true',
short = 'Rearrange according to a series file')]