D906: registrar: fixing typo in comment

singhsrb (Saurabh Singh) phabricator at mercurial-scm.org
Mon Oct 2 17:39:59 UTC 2017


singhsrb created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  I was just going through the module and noticed the typo. This commit
  fixes 'onfalure' -> 'onfailure'.

TEST PLAN
  Read it again :)

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D906

AFFECTED FILES
  mercurial/registrar.py

CHANGE DETAILS

diff --git a/mercurial/registrar.py b/mercurial/registrar.py
--- a/mercurial/registrar.py
+++ b/mercurial/registrar.py
@@ -347,7 +347,7 @@
     fullmerge   o        o        o
     ========== ======== ======== =========
 
-    Optional argument 'onfalure' is the format of warning message
+    Optional argument 'onfailure' is the format of warning message
     to be used at failure of merging (target filename is specified
     at formatting). Or, None or so, if warning message should be
     suppressed.



To: singhsrb, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list