Show More
@@ -56,7 +56,7 def parseconfig(ui, raw, action): | |||||
56 | elif line == '[include]': |
|
56 | elif line == '[include]': | |
57 | if havesection and current != includes: |
|
57 | if havesection and current != includes: | |
58 | # TODO pass filename into this API so we can report it. |
|
58 | # TODO pass filename into this API so we can report it. | |
59 |
raise error.Abort(_('%s config cannot have includes ' |
|
59 | raise error.Abort(_('%s config cannot have includes ' | |
60 | 'after excludes') % action) |
|
60 | 'after excludes') % action) | |
61 | havesection = True |
|
61 | havesection = True | |
62 | current = includes |
|
62 | current = includes | |
@@ -72,7 +72,7 def parseconfig(ui, raw, action): | |||||
72 | 'to declare the entry type')) |
|
72 | 'to declare the entry type')) | |
73 |
|
73 | |||
74 | if line.strip().startswith('/'): |
|
74 | if line.strip().startswith('/'): | |
75 |
ui.warn(_('warning: %s profile cannot use' |
|
75 | ui.warn(_('warning: %s profile cannot use' | |
76 | ' paths starting with /, ignoring %s\n') |
|
76 | ' paths starting with /, ignoring %s\n') | |
77 | % (action, line)) |
|
77 | % (action, line)) | |
78 | continue |
|
78 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now