Submitter | phabricator |
---|---|
Date | March 2, 2018, 1:54 a.m. |
Message ID | <c7bb1ec9f1c2617bce373c47061892af@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28644/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/convert/convcmd.py b/hgext/convert/convcmd.py --- a/hgext/convert/convcmd.py +++ b/hgext/convert/convcmd.py @@ -8,7 +8,6 @@ import collections import os -import shlex import shutil from mercurial.i18n import _ @@ -211,9 +210,7 @@ # Ignore blank lines continue # split line - lex = shlex.shlex(line, posix=True) - lex.whitespace_split = True - lex.whitespace += ',' + lex = common.shlexer(data=line, whitespace=',') line = list(lex) # check number of parents if not (2 <= len(line) <= 3):