diff tests/test_push_command.py @ 556:8522f8ef799e

pushmod: make outdated parent error message more helpful
author Patrick Mezard <pmezard@gmail.com>
date Sun, 07 Feb 2010 15:56:25 +0100
parents cf4fe45bf8fd
children d74bf020a61c
line wrap: on
line diff
--- a/tests/test_push_command.py
+++ b/tests/test_push_command.py
@@ -475,7 +475,9 @@ class PushTests(test_util.TestBase):
             assert False, 'This should have aborted!'
         except hgutil.Abort, e:
             self.assertEqual(e.args[0],
-                             'Base text was out of date, maybe rebase?')
+                             'Outgoing changesets parent is not at subversion '
+                             'HEAD\n'
+                             '(pull again and rebase on a newer revision)')
 
 
 def suite():