# HG changeset patch # User Thomas Arendsen Hein # Date 2012-07-31 13:57:50 # Node ID 7d2967de2c04489f9ce64308eb39d8a55d66af7c # Parent e66fa4d587dcba60f322537ebbcd95237d28fc67 obsolete: fix typos in comments introduced by 6955d69a52a4 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