##// END OF EJS Templates
dispatch: write Abort hint to stderr too
Patrick Mezard -
r11683:757f39fa default
parent child Browse files
Show More
@@ -24,7 +24,7 b' def dispatch(args):'
24 24 except util.Abort, inst:
25 25 sys.stderr.write(_("abort: %s\n") % inst)
26 26 if inst.hint:
27 sys.stdout.write(_("(%s)\n") % inst.hint)
27 sys.stderr.write(_("(%s)\n") % inst.hint)
28 28 return -1
29 29 except error.ParseError, inst:
30 30 if len(inst.args) > 1:
@@ -119,7 +119,7 b' def _runcatch(ui, args):'
119 119 except util.Abort, inst:
120 120 ui.warn(_("abort: %s\n") % inst)
121 121 if inst.hint:
122 ui.status(_("(%s)\n") % inst.hint)
122 ui.warn(_("(%s)\n") % inst.hint)
123 123 except ImportError, inst:
124 124 ui.warn(_("abort: %s!\n") % inst)
125 125 m = str(inst).split()[-1]
@@ -183,13 +183,13 b' added 1 changesets with 1 changes to 1 f'
183 183 % push -f
184 184 committing subrepository s
185 185 abort: push creates new remote heads on branch 'default'!
186 (did you forget to merge? use push -f to force)
186 187 pushing ...sub/t
187 188 pushing ...sub/t/s/ss
188 189 searching for changes
189 190 no changes found
190 191 pushing ...sub/t/s
191 192 searching for changes
192 (did you forget to merge? use push -f to force)
193 193 pushing ...sub/t
194 194 pushing ...sub/t/s/ss
195 195 searching for changes
@@ -300,4 +300,5 b' 1 files updated, 0 files merged, 0 files'
300 300 created new head
301 301 committing subrepository s
302 302 abort: push creates new remote heads on branch 'default'!
303 (did you forget to merge? use push -f to force)
303 304 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
General Comments 0
You need to be logged in to leave comments. Login now