This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
osmith gerrit-no-reply at lists.osmocom.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/11676
Change subject: consistent quote signs
......................................................................
consistent quote signs
Change-Id: I5fa9b90b4206364e8feeef735087f96274db2bb6
---
M src/gits
1 file changed, 23 insertions(+), 23 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/76/11676/1
diff --git a/src/gits b/src/gits
index dc7308c..da9e921 100755
--- a/src/gits
+++ b/src/gits
@@ -193,7 +193,7 @@
def cmd_sh(cmd):
if not cmd:
- error("which command do you want to run?")
+ error('which command do you want to run?')
for git_dir in git_dirs():
print('\n===== %s =====' % git_dir)
print('+ %s' % cmd_to_str(cmd))
@@ -339,44 +339,44 @@
def parse_args():
parser = argparse.ArgumentParser(description=doc)
- sub = parser.add_subparsers(title="action", dest="action")
+ sub = parser.add_subparsers(title='action', dest='action')
sub.required = True
- sub.add_parser("status", aliases=["st", "s"],
- help="show a branch summary and indicate modifications")
+ sub.add_parser('status', aliases=['st', 's'],
+ help='show a branch summary and indicate modifications')
- fetch = sub.add_parser("fetch", aliases=["f"],
- help="run 'git fetch' in each clone (use before rebase)")
- fetch.add_argument("remainder", nargs=argparse.REMAINDER,
- help="additional arguments to be passed to git fetch")
+ fetch = sub.add_parser('fetch', aliases=['f'],
+ help='run 'git fetch' in each clone (use before rebase)')
+ fetch.add_argument('remainder', nargs=argparse.REMAINDER,
+ help='additional arguments to be passed to git fetch')
- sub.add_parser("rebase", aliases=["r", "re"],
- help="interactively ff-merge master, rebase current branches")
+ sub.add_parser('rebase', aliases=['r', 're'],
+ help='interactively ff-merge master, rebase current branches')
- sh = sub.add_parser("sh",
- help="run shell command in each clone (`gits sh echo hi`)")
- sh.add_argument("remainder", nargs=argparse.REMAINDER,
- help="command to run in each clone")
+ sh = sub.add_parser('sh',
+ help='run shell command in each clone (`gits sh echo hi`)')
+ sh.add_argument('remainder', nargs=argparse.REMAINDER,
+ help='command to run in each clone')
- do = sub.add_parser("do",
- help="run git command in each clone (`gits do clean -dxf`)")
- do.add_argument("remainder", nargs=argparse.REMAINDER,
- help="git command to run in each clone")
+ do = sub.add_parser('do',
+ help='run git command in each clone (`gits do clean -dxf`)')
+ do.add_argument('remainder', nargs=argparse.REMAINDER,
+ help='git command to run in each clone')
return parser.parse_args()
if __name__ == '__main__':
args = parse_args()
- if args.action in ["status", "s", "st"]:
+ if args.action in ['status', 's', 'st']:
print_status()
- elif args.action in ["fetch", "f"]:
+ elif args.action in ['fetch', 'f']:
cmd_do(['fetch'] + args.remainder)
- elif args.action in ["rebase", "r"]:
+ elif args.action in ['rebase', 'r']:
cmd_rebase()
- elif args.action == "sh":
+ elif args.action == 'sh':
cmd_sh(args.remainder)
- elif args.action == "do":
+ elif args.action == 'do':
cmd_do(args.remainder)
# vim: shiftwidth=4 expandtab tabstop=4
--
To view, visit https://gerrit.osmocom.org/11676
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5fa9b90b4206364e8feeef735087f96274db2bb6
Gerrit-Change-Number: 11676
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181108/d80caf78/attachment.htm>