Show More
@@ -93,6 +93,7 class config(object): | |||||
93 | self.set(section, item, v, "%s:%d" % (src, line)) |
|
93 | self.set(section, item, v, "%s:%d" % (src, line)) | |
94 | continue |
|
94 | continue | |
95 | item = None |
|
95 | item = None | |
|
96 | cont = False | |||
96 | m = includere.match(l) |
|
97 | m = includere.match(l) | |
97 | if m: |
|
98 | if m: | |
98 | inc = m.group(1) |
|
99 | inc = m.group(1) |
@@ -24,6 +24,9 def dispatch(args): | |||||
24 | except util.Abort, inst: |
|
24 | except util.Abort, inst: | |
25 | sys.stderr.write(_("abort: %s\n") % inst) |
|
25 | sys.stderr.write(_("abort: %s\n") % inst) | |
26 | return -1 |
|
26 | return -1 | |
|
27 | except error.ConfigError, inst: | |||
|
28 | sys.stderr.write(_("hg: %s\n") % inst) | |||
|
29 | return -1 | |||
27 | return _runcatch(u, args) |
|
30 | return _runcatch(u, args) | |
28 |
|
31 | |||
29 | def _runcatch(ui, args): |
|
32 | def _runcatch(ui, args): |
@@ -16,3 +16,9 cd foobar | |||||
16 | cat .hg/hgrc |sed -e "s:$p:...:" |
|
16 | cat .hg/hgrc |sed -e "s:$p:...:" | |
17 | hg paths |sed -e "s:$p:...:" |
|
17 | hg paths |sed -e "s:$p:...:" | |
18 | hg showconfig |sed -e "s:$p:...:" |
|
18 | hg showconfig |sed -e "s:$p:...:" | |
|
19 | ||||
|
20 | # issue1829: wrong indentation | |||
|
21 | cd .. | |||
|
22 | echo '[foo]' >> $HGRCPATH | |||
|
23 | echo ' x = y' >> $HGRCPATH | |||
|
24 | hg version 2>&1 | sed -e "s|$HGRCPATH|\$HGRCPATH|" |
General Comments 0
You need to be logged in to leave comments.
Login now