##// END OF EJS Templates
errors: use detailed exit code when trying to merge file outside narrowspec...
Martin von Zweigbergk -
r49189:8e855e99 default
parent child Browse files
Show More
@@ -542,7 +542,7 b' def _filternarrowactions(narrowmatch, br'
542 hint=_(b'merging in the other direction may work'),
542 hint=_(b'merging in the other direction may work'),
543 )
543 )
544 else:
544 else:
545 raise error.Abort(
545 raise error.StateError(
546 _(b'conflict in file \'%s\' is outside narrow clone') % f
546 _(b'conflict in file \'%s\' is outside narrow clone') % f
547 )
547 )
548
548
@@ -101,4 +101,4 b' Refuses merge of conflicting outside cha'
101 $ hg merge 'desc("conflicting outside/f1")'
101 $ hg merge 'desc("conflicting outside/f1")'
102 abort: conflict in file 'outside/f1' is outside narrow clone (flat !)
102 abort: conflict in file 'outside/f1' is outside narrow clone (flat !)
103 abort: conflict in file 'outside/' is outside narrow clone (tree !)
103 abort: conflict in file 'outside/' is outside narrow clone (tree !)
104 [255]
104 [20]
@@ -96,4 +96,4 b' Rebase interrupts on conflicting changes'
96 $ hg rebase -d 'desc("modify outside/f1")'
96 $ hg rebase -d 'desc("modify outside/f1")'
97 rebasing 4:707c035aadb6 "conflicting outside/f1"
97 rebasing 4:707c035aadb6 "conflicting outside/f1"
98 abort: conflict in file 'outside/f1' is outside narrow clone
98 abort: conflict in file 'outside/f1' is outside narrow clone
99 [255]
99 [20]
General Comments 0
You need to be logged in to leave comments. Login now