diff tests/test-rhg.t @ 46445:ca3f73cc3cf4

rhg: Simplify CommandError based on its use Differential Revision: https://phab.mercurial-scm.org/D9905
author Simon Sapin <simon.sapin@octobus.net>
date Thu, 28 Jan 2021 19:13:55 +0100
parents 02d3bb972121
children 1dcd9c9975ed
line wrap: on
line diff
--- a/tests/test-rhg.t	Thu Jan 28 19:21:57 2021 +0100
+++ b/tests/test-rhg.t	Thu Jan 28 19:13:55 2021 +0100
@@ -38,7 +38,7 @@
 Deleted repository
   $ rm -rf `pwd`
   $ rhg root
-  abort: error getting current working directory: $ENOENT$
+  abort: $ENOENT$: current directory
   [255]
 
 Listing tracked files
@@ -163,7 +163,7 @@
 
   $ echo -e '\xFF' >> .hg/requires
   $ rhg debugrequirements
-  corrupted repository: parse error in 'requires' file
+  abort: corrupted repository: parse error in 'requires' file
   [255]
 
 Persistent nodemap