diff tests/test-fetch.t @ 22676:a014fdc97154

fetch: use cmdutil.bailifchanged() Use the existing method cmdutil.bailifchanged() instead of implementing it again in fetch.py. An effect of this is that the error messages in case of uncommited changes will be different.
author Martin von Zweigbergk <martinvonz@gmail.com>
date Wed, 01 Oct 2014 14:48:42 -0700
parents 7a9cbb315d84
children f1eaf03dd608
line wrap: on
line diff
--- a/tests/test-fetch.t	Thu Oct 02 18:00:05 2014 -0500
+++ b/tests/test-fetch.t	Wed Oct 01 14:48:42 2014 -0700
@@ -150,7 +150,7 @@
 should abort, because i is modified
 
   $ hg --cwd i fetch ../h
-  abort: working directory is missing some files
+  abort: uncommitted changes
   [255]
 
 test fetch with named branches