# HG changeset patch # User Thomas Arendsen Hein # Date 1145948409 -7200 # Node ID 3610d9468b1ebed1710f2d9e40e0c990c4c2a475 # Parent 27fd8b7a6c51edb6f5a4c7b43b257e1aae75dd62 Use string literal concatenation for optlist and import -p option diff -r 27fd8b7a6c51 -r 3610d9468b1e mercurial/commands.py --- 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'))],