diff tests/test-obsolete.t @ 22950:bb8278b289ee

obsolete: add readonly flag to obstore constructor Previously, obstore read the obsolete._enabled flag to determine whether to allow writes to the obstore. Since obsolete._enabled will be moving into a repo specific config, we can't read it globally, and therefore must pass the information into the constructor.
author Durham Goode <durham@fb.com>
date Tue, 14 Oct 2014 13:20:31 -0700
parents c136e26953aa
children fab9dda0f2a3
line wrap: on
line diff
--- a/tests/test-obsolete.t	Tue Oct 14 13:17:35 2014 -0700
+++ b/tests/test-obsolete.t	Tue Oct 14 13:20:31 2014 -0700
@@ -32,7 +32,7 @@
 Checking that the feature is properly disabled
 
   $ hg debugobsolete -d '0 0' `getid kill_me` -u babar
-  abort: obsolete feature is not enabled on this repo
+  abort: creating obsolete markers is not enabled on this repo
   [255]
 
 Enabling it