diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -290,7 +290,7 @@ class localrepository(object): def obsstore(self): store = obsolete.obsstore(self.sopener) if store and not obsolete._enabled: - # message is rare enough to not be stranlated + # message is rare enough to not be translated msg = 'obsolete feature not enabled but %i markers found!\n' self.ui.warn(msg % len(list(store))) return store diff --git a/tests/test-obsolete.t b/tests/test-obsolete.t --- a/tests/test-obsolete.t +++ b/tests/test-obsolete.t @@ -493,7 +493,7 @@ Do not warn about new head when the new adding file changes added 1 changesets with 1 changes to 1 files (+1 heads) -Checking _enable=False warning if obsolete marker exist +Checking _enable=False warning if obsolete marker exists $ echo '[extensions]' >> $HGRCPATH $ echo "obs=!" >> $HGRCPATH