debugobsconvert: fix a typo on "version"
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 20 Nov 2014 15:33:59 -0800
changeset 1170 4697f23e0ede
parent 1169 6f08a8f6bb1d
child 1171 d14537d7dca9
debugobsconvert: fix a typo on "version"
hgext/evolve.py
tests/test-obsconvert.t
--- a/hgext/evolve.py	Thu Nov 20 15:33:14 2014 -0800
+++ b/hgext/evolve.py	Thu Nov 20 15:33:59 2014 -0800
@@ -2773,7 +2773,7 @@
             continue
         know.add(m)
         markers.append(m)
-    ui.write(_('Old store is version %d, will rewrite in verion %d\n') % (
+    ui.write(_('Old store is version %d, will rewrite in version %d\n') % (
         repo.obsstore._version, new_format))
     map(f.write, obsolete.encodemarkers(markers, True, new_format))
     f.close()
--- a/tests/test-obsconvert.t	Thu Nov 20 15:33:14 2014 -0800
+++ b/tests/test-obsconvert.t	Thu Nov 20 15:33:59 2014 -0800
@@ -16,19 +16,19 @@
 
 Test conversion between obsolete marker formats
   $ hg debugobsconvert --new-format 0
-  Old store is version 1, will rewrite in verion 0
+  Old store is version 1, will rewrite in version 0
   Done!
   $ hg debugobsconvert --new-format 0
   abort: New format is the same as the old format, not upgrading!
   [255]
   $ hg debugobsconvert --new-format 1
-  Old store is version 0, will rewrite in verion 1
+  Old store is version 0, will rewrite in version 1
   Done!
 
 Test that the default is some reasonably modern format (first downgrade)
   $ hg debugobsconvert --new-format 0
-  Old store is version 1, will rewrite in verion 0
+  Old store is version 1, will rewrite in version 0
   Done!
   $ hg debugobsconvert
-  Old store is version 0, will rewrite in verion * (glob)
+  Old store is version 0, will rewrite in version 1
   Done!