Show More
@@ -1866,8 +1866,8 b' def _getsortargs(x):' | |||
|
1866 | 1866 | |
|
1867 | 1867 | if len(keyflags) > 1 and any(k == 'topo' for k, reverse in keyflags): |
|
1868 | 1868 | # i18n: "topo" is a keyword |
|
1869 | raise error.ParseError(_( | |
|
1870 | 'topo sort order cannot be combined with other sort keys')) | |
|
1869 | raise error.ParseError(_('topo sort order cannot be combined ' | |
|
1870 | 'with other sort keys')) | |
|
1871 | 1871 | |
|
1872 | 1872 | opts = {} |
|
1873 | 1873 | if 'topo.firstbranch' in args: |
@@ -1875,9 +1875,8 b' def _getsortargs(x):' | |||
|
1875 | 1875 | opts['topo.firstbranch'] = args['topo.firstbranch'] |
|
1876 | 1876 | else: |
|
1877 | 1877 | # i18n: "topo" and "topo.firstbranch" are keywords |
|
1878 | raise error.ParseError(_( | |
|
1879 | 'topo.firstbranch can only be used when using the topo sort ' | |
|
1880 | 'key')) | |
|
1878 | raise error.ParseError(_('topo.firstbranch can only be used ' | |
|
1879 | 'when using the topo sort key')) | |
|
1881 | 1880 | |
|
1882 | 1881 | return args['set'], keyflags, opts |
|
1883 | 1882 |
General Comments 0
You need to be logged in to leave comments.
Login now