From c710f94d04a1688c9dbbe1c77e1747d70c381c22 Mon Sep 17 00:00:00 2001 From: Mateusz Kwapich Date: Tue, 25 Sep 2018 10:57:04 -0700 Subject: [PATCH] fix typos in comments Summary: Nuclide was complaining. Reviewed By: quark-zju Differential Revision: D9993480 fbshipit-source-id: be41d30047cbd59ac4f6f97bae87c3fa7cbd3fac --- hgext/hgsql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hgext/hgsql.py b/hgext/hgsql.py index 36bd8d904b..ede1a2989e 100644 --- a/hgext/hgsql.py +++ b/hgext/hgsql.py @@ -219,7 +219,7 @@ def extsetup(ui): ) # Directly examining argv seems like a terrible idea, but it seems - # neccesary unless we refactor mercurial dispatch code. This is because + # necessary unless we refactor mercurial dispatch code. This is because # the first place we have access to parsed options is in the same function # (dispatch.dispatch) that created the repo and the repo creation initiates # the sync operation in which the lock is elided unless we set this. @@ -2265,7 +2265,7 @@ def _sqlreplay(repo, startrev, endrev): wlock = repo.wlock() lock = repo.lock() # Disable all pretxnclose hooks, since these revisions are - # technically already commited. + # technically already committed. for name, value in repo.ui.configitems("hooks"): if name.startswith("pretxnclose"): repo.ui.setconfig("hooks", name, None)