diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-03 22:04:45 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-03 22:04:45 -0500 |
commit | 9e55e72cd7f2df2acb6178318dec5afa346ec34c (patch) | |
tree | 2a6e09268327e3634bc9de88b27d38ba5cf809a7 | |
parent | acaa2a2765c4864ef001ae1097285c4f5cf2987d (diff) | |
download | gitblit-9e55e72cd7f2df2acb6178318dec5afa346ec34c.tar.gz gitblit-9e55e72cd7f2df2acb6178318dec5afa346ec34c.zip |
Fix pt push regression due to eliminating --patchset argument
-rw-r--r-- | src/main/java/pt.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/main/java/pt.py b/src/main/java/pt.py index f1fe27f8..3b35c167 100644 --- a/src/main/java/pt.py +++ b/src/main/java/pt.py @@ -31,7 +31,7 @@ # __author__ = 'James Moger' -__version__ = '1.0.5' +__version__ = '1.0.6' import subprocess import argparse @@ -187,15 +187,6 @@ def push(args): print("Pushing your patchset to the '{}' repository".format(args.remote)) __call(['git', 'push', args.remote, ref_spec], echo=True) - - if args.force and args.patchset is not None and args.patchset is not 0: - # if we had to force the push then there is a new patchset - # revision on the server so checkout out the new patchset - args.patchset = None - args.force = False - args.quiet = True - checkout(args) - return |