Mercurial > hg
changeset 2125:3610d9468b1e
Use string literal concatenation for optlist and import -p option
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 25 Apr 2006 09:00:09 +0200 |
parents | 27fd8b7a6c51 |
children | 2e77f7852e82 |
files | mercurial/commands.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Apr 25 00:43:40 2006 +0200 +++ b/mercurial/commands.py Tue Apr 25 09:00:09 2006 +0200 @@ -2566,8 +2566,8 @@ r = repo.addchangegroup(fin) respond(str(r)) - optlist = """name templates style address port - ipv6 accesslog errorlog webdir_conf""" + optlist = ("name templates style address port ipv6" + " accesslog errorlog webdir_conf") for o in optlist.split(): if opts[o]: ui.setconfig("web", o, opts[o]) @@ -2998,8 +2998,8 @@ "import|patch": (import_, [('p', 'strip', 1, - _('directory strip option for patch. This has the same\n') + - _('meaning as the corresponding patch option')), + _('directory strip option for patch. This has the same\n' + 'meaning as the corresponding patch option')), ('b', 'base', '', _('base path')), ('f', 'force', None, _('skip check for outstanding uncommitted changes'))],