# HG changeset patch # User Mads Kiilerich # Date 1476739015 -7200 # Node ID 318a24b52eebd9e7739ae0595306aafd1624e81b # Parent b19291e5d506238acd84f5890da7adadd8167e82 spelling: fixes of non-dictionary words diff -r b19291e5d506 -r 318a24b52eeb contrib/all-revsets.txt --- a/contrib/all-revsets.txt Thu Nov 03 17:31:14 2016 -0700 +++ b/contrib/all-revsets.txt Mon Oct 17 23:16:55 2016 +0200 @@ -8,7 +8,7 @@ # # Please update this file with any revsets you use for benchmarking a change so # that future contributors can easily find and retest it when doing further -# modification. Feel free to highlight interresting variants if needed. +# modification. Feel free to highlight interesting variants if needed. ## Revset from this section are all extracted from changelog when this file was diff -r b19291e5d506 -r 318a24b52eeb contrib/vim/patchreview.vim --- a/contrib/vim/patchreview.vim Thu Nov 03 17:31:14 2016 -0700 +++ b/contrib/vim/patchreview.vim Mon Oct 17 23:16:55 2016 +0200 @@ -720,7 +720,7 @@ let s:origtabpagenr = tabpagenr() silent! exe 'tabedit ' . StrippedRelativeFilePath if exists('patchcmd') - " modelines in loaded files mess with diff comparision + " modelines in loaded files mess with diff comparison let s:keep_modeline=&modeline let &modeline=0 silent! exe 'vert diffsplit ' . tmpname . '.file' diff -r b19291e5d506 -r 318a24b52eeb hgext/chgserver.py --- a/hgext/chgserver.py Thu Nov 03 17:31:14 2016 -0700 +++ b/hgext/chgserver.py Mon Oct 17 23:16:55 2016 +0200 @@ -629,7 +629,7 @@ def chgunixservice(ui, repo, opts): if repo: - # one chgserver can serve multiple repos. drop repo infomation + # one chgserver can serve multiple repos. drop repo information ui.setconfig('bundle', 'mainreporoot', '', 'repo') h = chgunixservicehandler(ui) return commandserver.unixforkingservice(ui, repo=None, opts=opts, handler=h) diff -r b19291e5d506 -r 318a24b52eeb hgext/fsmonitor/__init__.py --- a/hgext/fsmonitor/__init__.py Thu Nov 03 17:31:14 2016 -0700 +++ b/hgext/fsmonitor/__init__.py Mon Oct 17 23:16:55 2016 +0200 @@ -563,7 +563,7 @@ pass class state_update(object): - ''' This context mananger is responsible for dispatching the state-enter + ''' This context manager is responsible for dispatching the state-enter and state-leave signals to the watchman service ''' def __init__(self, repo, node, distance, partial): diff -r b19291e5d506 -r 318a24b52eeb hgext/histedit.py --- a/hgext/histedit.py Thu Nov 03 17:31:14 2016 -0700 +++ b/hgext/histedit.py Mon Oct 17 23:16:55 2016 +0200 @@ -1405,12 +1405,12 @@ % node.short(missing[0])) def adjustreplacementsfrommarkers(repo, oldreplacements): - """Adjust replacements from obsolescense markers + """Adjust replacements from obsolescence markers Replacements structure is originally generated based on histedit's state and does not account for changes that are not recorded there. This function fixes that by adding - data read from obsolescense markers""" + data read from obsolescence markers""" if not obsolete.isenabled(repo, obsolete.createmarkersopt): return oldreplacements diff -r b19291e5d506 -r 318a24b52eeb hgext/logtoprocess.py --- a/hgext/logtoprocess.py Thu Nov 03 17:31:14 2016 -0700 +++ b/hgext/logtoprocess.py Mon Oct 17 23:16:55 2016 +0200 @@ -27,7 +27,7 @@ would log the warning message and traceback of any failed command dispatch. -Scripts are run asychronously as detached daemon processes; mercurial will +Scripts are run asynchronously as detached daemon processes; mercurial will not ensure that they exit cleanly. """ diff -r b19291e5d506 -r 318a24b52eeb hgext/rebase.py --- a/hgext/rebase.py Thu Nov 03 17:31:14 2016 -0700 +++ b/hgext/rebase.py Mon Oct 17 23:16:55 2016 +0200 @@ -1385,7 +1385,7 @@ """return a mapping obsolete => successor for all obsolete nodes to be rebased that have a successors in the destination - obsolete => None entries in the mapping indicate nodes with no succesor""" + obsolete => None entries in the mapping indicate nodes with no successor""" obsoletenotrebased = {} # Build a mapping successor => obsolete nodes for the obsolete diff -r b19291e5d506 -r 318a24b52eeb i18n/ja.po --- a/i18n/ja.po Thu Nov 03 17:31:14 2016 -0700 +++ b/i18n/ja.po Mon Oct 17 23:16:55 2016 +0200 @@ -6747,7 +6747,7 @@ msgstr "" msgid "" -"Scripts are run asychronously as detached daemon processes; mercurial will\n" +"Scripts are run asynchronously as detached daemon processes; mercurial will\n" "not ensure that they exit cleanly." msgstr "" @@ -10366,7 +10366,7 @@ msgstr "shelve 状態管理ファイルが破損しています" msgid "please run hg unshelve --abort to abort unshelve operation" -msgstr "'hg unshelve --abort' を実施して unshleve 操作を中断してください" +msgstr "'hg unshelve --abort' を実施して unshelve 操作を中断してください" msgid "" "could not read shelved state file, your working copy may be in an unexpected " @@ -14200,7 +14200,7 @@ msgstr "トランザクション実施途中は廃止マーカを破棄できません" #, python-format -msgid "deleted %i obsolescense markers\n" +msgid "deleted %i obsolescence markers\n" msgstr "%i 個の廃止マーカを破棄\n" #, python-format @@ -32665,8 +32665,8 @@ msgid "revset expects one or more arguments" msgstr "revset の引数は1個以上です" -msgid ":rstdoc(text, style): Format ReStructuredText." -msgstr ":rstdoc(text, style): 出力を ReStructuredText として整形します。" +msgid ":rstdoc(text, style): Format reStructuredText." +msgstr ":rstdoc(text, style): 出力を reStructuredText として整形します。" #. i18n: "rstdoc" is a keyword msgid "rstdoc expects two arguments" diff -r b19291e5d506 -r 318a24b52eeb i18n/pt_BR.po --- a/i18n/pt_BR.po Thu Nov 03 17:31:14 2016 -0700 +++ b/i18n/pt_BR.po Mon Oct 17 23:16:55 2016 +0200 @@ -6761,7 +6761,7 @@ "falhasse." msgid "" -"Scripts are run asychronously as detached daemon processes; mercurial will\n" +"Scripts are run asynchronously as detached daemon processes; mercurial will\n" "not ensure that they exit cleanly." msgstr "" "Os scripts são executados assincronamente como processos desanexados;\n" @@ -14438,7 +14438,7 @@ "não é possível apagar marcações de obsolescência durante uma transação." #, python-format -msgid "deleted %i obsolescense markers\n" +msgid "deleted %i obsolescence markers\n" msgstr "%i marcações de obsolescência apagadas\n" #, python-format @@ -33523,8 +33523,8 @@ msgid "revset expects one or more arguments" msgstr "revset espera um ou mais argumentos" -msgid ":rstdoc(text, style): Format ReStructuredText." -msgstr ":rstdoc(texto, estilo): Formata ReStructuredText." +msgid ":rstdoc(text, style): Format reStructuredText." +msgstr ":rstdoc(texto, estilo): Formata reStructuredText." #. i18n: "rstdoc" is a keyword msgid "rstdoc expects two arguments" diff -r b19291e5d506 -r 318a24b52eeb mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/cmdutil.py Mon Oct 17 23:16:55 2016 +0200 @@ -3471,7 +3471,7 @@ '''Check for an unfinished operation and return the command to finish it. - afterresolvedstates tupples define a .hg/{file} and the corresponding + afterresolvedstates tuples define a .hg/{file} and the corresponding command needed to finish it. Returns a (msg, warning) tuple. 'msg' is a string and 'warning' is diff -r b19291e5d506 -r 318a24b52eeb mercurial/commands.py --- a/mercurial/commands.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/commands.py Mon Oct 17 23:16:55 2016 +0200 @@ -3068,7 +3068,7 @@ with repo.lock(): n = repair.deleteobsmarkers(repo.obsstore, indices) - ui.write(_('deleted %i obsolescense markers\n') % n) + ui.write(_('deleted %i obsolescence markers\n') % n) return diff -r b19291e5d506 -r 318a24b52eeb mercurial/crecord.py --- a/mercurial/crecord.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/crecord.py Mon Oct 17 23:16:55 2016 +0200 @@ -1401,13 +1401,13 @@ "Press any key to continue.") elif opts.get('amend') is None: opts['amend'] = True - msg = ("Amend option is turned on -- commiting the currently " + msg = ("Amend option is turned on -- committing the currently " "selected changes will not create a new changeset, but " "instead update the most recently committed changeset.\n\n" "Press any key to continue.") elif opts.get('amend') is True: opts['amend'] = None - msg = ("Amend option is turned off -- commiting the currently " + msg = ("Amend option is turned off -- committing the currently " "selected changes will create a new changeset.\n\n" "Press any key to continue.") if not test: @@ -1610,7 +1610,7 @@ except curses.error: self.initerr = _('this diff is too large to be displayed') return - # initialize selecteitemendline (initial start-line is 0) + # initialize selecteditemendline (initial start-line is 0) self.selecteditemendline = self.getnumlinesdisplayed( self.currentselecteditem, recursechildren=False) diff -r b19291e5d506 -r 318a24b52eeb mercurial/destutil.py --- a/mercurial/destutil.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/destutil.py Mon Oct 17 23:16:55 2016 +0200 @@ -133,7 +133,7 @@ assert node is not None, "'tip' exists even in empty repository" return node, movemark, None -# order in which each step should be evalutated +# order in which each step should be evaluated # steps are run until one finds a destination destupdatesteps = ['evolution', 'bookmark', 'branch', 'branchfallback'] # mapping to ease extension overriding steps. diff -r b19291e5d506 -r 318a24b52eeb mercurial/error.py --- a/mercurial/error.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/error.py Mon Oct 17 23:16:55 2016 +0200 @@ -84,7 +84,7 @@ """Raised when an update is aborted because there is nothing to merge""" class ManyMergeDestAbort(MergeDestAbort): - """Raised when an update is aborted because destination is ambigious""" + """Raised when an update is aborted because destination is ambiguous""" class ResponseExpected(Abort): """Raised when an EOF is received for a prompt""" diff -r b19291e5d506 -r 318a24b52eeb mercurial/exchange.py --- a/mercurial/exchange.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/exchange.py Mon Oct 17 23:16:55 2016 +0200 @@ -64,7 +64,7 @@ Where is one of the supported compression formats and is (currently) a version string. A ";" can follow the type and - all text afterwards is interpretted as URI encoded, ";" delimited key=value + all text afterwards is interpreted as URI encoded, ";" delimited key=value pairs. If ``strict`` is True (the default) is required. Otherwise, @@ -282,7 +282,7 @@ This function is used to allow testing of the older bundle version""" ui = op.repo.ui forcebundle1 = False - # The goal is this config is to allow developper to choose the bundle + # The goal is this config is to allow developer to choose the bundle # version used during exchanged. This is especially handy during test. # Value is a list of bundle version to be picked from, highest version # should be used. @@ -1425,7 +1425,7 @@ pullop.stepsdone.add('phases') publishing = bool(remotephases.get('publishing', False)) if remotephases and not publishing: - # remote is new and unpublishing + # remote is new and non-publishing pheads, _dr = phases.analyzeremotephases(pullop.repo, pullop.pulledsubset, remotephases) diff -r b19291e5d506 -r 318a24b52eeb mercurial/localrepo.py --- a/mercurial/localrepo.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/localrepo.py Mon Oct 17 23:16:55 2016 +0200 @@ -1502,7 +1502,7 @@ return fparent1 def checkcommitpatterns(self, wctx, vdirs, match, status, fail): - """check for commit arguments that aren't commitable""" + """check for commit arguments that aren't committable""" if match.isexact() or match.prefix(): matched = set(status.modified + status.added + status.removed) diff -r b19291e5d506 -r 318a24b52eeb mercurial/merge.py --- a/mercurial/merge.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/merge.py Mon Oct 17 23:16:55 2016 +0200 @@ -66,7 +66,7 @@ (experimental) m: the external merge driver defined for this merge plus its run state (experimental) - f: a (filename, dictonary) tuple of optional values for a given file + f: a (filename, dictionary) tuple of optional values for a given file X: unsupported mandatory record type (used in tests) x: unsupported advisory record type (used in tests) l: the labels for the parts of the merge. diff -r b19291e5d506 -r 318a24b52eeb mercurial/parser.py --- a/mercurial/parser.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/parser.py Mon Oct 17 23:16:55 2016 +0200 @@ -248,7 +248,7 @@ This is a helper for fileset/revset/template aliases. A concrete rule set should be made by sub-classing this and implementing class/static methods. - It supports alias expansion of symbol and funciton-call styles:: + It supports alias expansion of symbol and function-call styles:: # decl = defn h = heads(default) diff -r b19291e5d506 -r 318a24b52eeb mercurial/pathutil.py --- a/mercurial/pathutil.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/pathutil.py Mon Oct 17 23:16:55 2016 +0200 @@ -84,7 +84,7 @@ normparts.pop() prefixes = [] # It's important that we check the path parts starting from the root. - # This means we won't accidentaly traverse a symlink into some other + # This means we won't accidentally traverse a symlink into some other # filesystem (which is potentially expensive to access). for i in range(len(parts)): prefix = os.sep.join(parts[:i + 1]) diff -r b19291e5d506 -r 318a24b52eeb mercurial/registrar.py --- a/mercurial/registrar.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/registrar.py Mon Oct 17 23:16:55 2016 +0200 @@ -13,7 +13,7 @@ ) class _funcregistrarbase(object): - """Base of decorator to register a fuction for specific purpose + """Base of decorator to register a function for specific purpose This decorator stores decorated functions into own dict 'table'. @@ -177,7 +177,7 @@ Usage:: - templaetkeyword = registrar.templatekeyword() + templatekeyword = registrar.templatekeyword() @templatekeyword('mykeyword') def mykeywordfunc(repo, ctx, templ, cache, revcache, **args): diff -r b19291e5d506 -r 318a24b52eeb mercurial/revset.py --- a/mercurial/revset.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/revset.py Mon Oct 17 23:16:55 2016 +0200 @@ -1443,7 +1443,7 @@ results = set(cl.findmissingrevs(common=exclude, heads=include)) # XXX we should turn this into a baseset instead of a set, smartset may do - # some optimisations from the fact this is a baseset. + # some optimizations from the fact this is a baseset. return subset & results @predicate('origin([set])', safe=True) @@ -1475,7 +1475,7 @@ o = set([_firstsrc(r) for r in dests]) o -= set([None]) # XXX we should turn this into a baseset instead of a set, smartset may do - # some optimisations from the fact this is a baseset. + # some optimizations from the fact this is a baseset. return subset & o @predicate('outgoing([path])', safe=True) @@ -1521,7 +1521,7 @@ ps.add(cl.parentrevs(r)[0]) ps -= set([node.nullrev]) # XXX we should turn this into a baseset instead of a set, smartset may do - # some optimisations from the fact this is a baseset. + # some optimizations from the fact this is a baseset. return subset & ps @predicate('p2([set])', safe=True) @@ -1544,7 +1544,7 @@ ps.add(cl.parentrevs(r)[1]) ps -= set([node.nullrev]) # XXX we should turn this into a baseset instead of a set, smartset may do - # some optimisations from the fact this is a baseset. + # some optimizations from the fact this is a baseset. return subset & ps def parentpost(repo, subset, x, order): @@ -3198,7 +3198,7 @@ def __len__(self): # Basic implementation to be changed in future patches. # until this gets improved, we use generator expression - # here, since list compr is free to call __len__ again + # here, since list comprehensions are free to call __len__ again # causing infinite recursion l = baseset(r for r in self) return len(l) diff -r b19291e5d506 -r 318a24b52eeb mercurial/simplemerge.py --- a/mercurial/simplemerge.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/simplemerge.py Mon Oct 17 23:16:55 2016 +0200 @@ -274,7 +274,7 @@ def minimize(self, merge_regions): """Trim conflict regions of lines where A and B sides match. - Lines where both A and B have made the same changes at the begining + Lines where both A and B have made the same changes at the beginning or the end of each merge region are eliminated from the conflict region and are instead considered the same. """ diff -r b19291e5d506 -r 318a24b52eeb mercurial/sslutil.py --- a/mercurial/sslutil.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/sslutil.py Mon Oct 17 23:16:55 2016 +0200 @@ -638,7 +638,7 @@ # According to RFC 2818 the most specific Common Name must # be used. if key == 'commonName': - # 'subject' entries are unicide. + # 'subject' entries are unicode. try: value = value.encode('ascii') except UnicodeEncodeError: @@ -764,7 +764,7 @@ return None def validatesocket(sock): - """Validate a socket meets security requiremnets. + """Validate a socket meets security requirements. The passed socket must have been created with ``wrapsocket()``. """ diff -r b19291e5d506 -r 318a24b52eeb mercurial/streamclone.py --- a/mercurial/streamclone.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/streamclone.py Mon Oct 17 23:16:55 2016 +0200 @@ -286,11 +286,11 @@ def consumev1(repo, fp, filecount, bytecount): """Apply the contents from version 1 of a streaming clone file handle. - This takes the output from "streamout" and applies it to the specified + This takes the output from "stream_out" and applies it to the specified repository. - Like "streamout," the status line added by the wire protocol is not handled - by this function. + Like "stream_out," the status line added by the wire protocol is not + handled by this function. """ with repo.lock(): repo.ui.status(_('%d files to transfer, %s of data\n') % diff -r b19291e5d506 -r 318a24b52eeb mercurial/templater.py --- a/mercurial/templater.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/templater.py Mon Oct 17 23:16:55 2016 +0200 @@ -792,7 +792,7 @@ @templatefunc('rstdoc(text, style)') def rstdoc(context, mapping, args): - """Format ReStructuredText.""" + """Format reStructuredText.""" if len(args) != 2: # i18n: "rstdoc" is a keyword raise error.ParseError(_("rstdoc expects two arguments")) diff -r b19291e5d506 -r 318a24b52eeb mercurial/ui.py --- a/mercurial/ui.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/ui.py Mon Oct 17 23:16:55 2016 +0200 @@ -736,7 +736,7 @@ is curses, the interface for histedit is text and the interface for selecting chunk is crecord (the best curses interface available). - Consider the following exemple: + Consider the following example: ui.interface = curses ui.interface.histedit = text diff -r b19291e5d506 -r 318a24b52eeb mercurial/util.py --- a/mercurial/util.py Thu Nov 03 17:31:14 2016 -0700 +++ b/mercurial/util.py Mon Oct 17 23:16:55 2016 +0200 @@ -1456,7 +1456,7 @@ def __eq__(self, old): try: # if ambiguity between stat of new and old file is - # avoided, comparision of size, ctime and mtime is enough + # avoided, comparison of size, ctime and mtime is enough # to exactly detect change of a file regardless of platform return (self.stat.st_size == old.stat.st_size and self.stat.st_ctime == old.stat.st_ctime and diff -r b19291e5d506 -r 318a24b52eeb tests/failfilemerge.py --- a/tests/failfilemerge.py Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/failfilemerge.py Mon Oct 17 23:16:55 2016 +0200 @@ -1,4 +1,4 @@ -# extension to emulate interupting filemerge._filemerge +# extension to emulate interrupting filemerge._filemerge from __future__ import absolute_import diff -r b19291e5d506 -r 318a24b52eeb tests/test-atomictempfile.py --- a/tests/test-atomictempfile.py Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-atomictempfile.py Mon Oct 17 23:16:55 2016 +0200 @@ -68,7 +68,7 @@ repetition = 3 # repeat atomic write with checkambig=True, to examine - # whether st_mtime is advanced multiple times as expecetd + # whether st_mtime is advanced multiple times as expected for j in xrange(repetition): atomicwrite(True) newstat = os.stat(self._filename) @@ -77,7 +77,7 @@ continue # st_mtime should be advanced "repetition" times, because - # all atomicwrite() occured at same time (in sec) + # all atomicwrite() occurred at same time (in sec) self.assertTrue(newstat.st_mtime == ((oldstat.st_mtime + repetition) & 0x7fffffff)) # no more examination is needed, if assumption above is true diff -r b19291e5d506 -r 318a24b52eeb tests/test-backout.t --- a/tests/test-backout.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-backout.t Mon Oct 17 23:16:55 2016 +0200 @@ -272,7 +272,7 @@ (1) update to REV1 (REV2 => REV1) (2) revert by REV1^1 -(3) commit backnig out revision (REV3) +(3) commit backing out revision (REV3) (4) update to REV2 (REV3 => REV2) (5) merge with REV3 (REV2 => REV2, REV3) @@ -287,7 +287,7 @@ > preupdate.visibility = sh $TESTTMP/checkvisibility.sh preupdate > EOF -("-m" is needed to avoid writing dirstte changes out at other than +("-m" is needed to avoid writing dirstate changes out at other than invocation of the hook to be examined) $ hg backout --merge -d '3 0' 1 --tool=true -m 'fixed comment' diff -r b19291e5d506 -r 318a24b52eeb tests/test-bookmarks-pushpull.t --- a/tests/test-bookmarks-pushpull.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-bookmarks-pushpull.t Mon Oct 17 23:16:55 2016 +0200 @@ -550,7 +550,7 @@ $ cd .. -Test to show result of bookmarks comparision +Test to show result of bookmarks comparison $ mkdir bmcomparison $ cd bmcomparison diff -r b19291e5d506 -r 318a24b52eeb tests/test-bookmarks.t --- a/tests/test-bookmarks.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-bookmarks.t Mon Oct 17 23:16:55 2016 +0200 @@ -734,7 +734,7 @@ summary: 0 -no-op update doesn't deactive bookmarks +no-op update doesn't deactivate bookmarks $ hg bookmarks * four 3:9ba5f110a0b3 diff -r b19291e5d506 -r 318a24b52eeb tests/test-commandserver.t --- a/tests/test-commandserver.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-commandserver.t Mon Oct 17 23:16:55 2016 +0200 @@ -817,7 +817,7 @@ $ echo foo > foo $ hg add foo -(failuer before finalization) +(failure before finalization) >>> from hgclient import readchannel, runcommand, check >>> @check @@ -836,7 +836,7 @@ *** runcommand log *** runcommand verify -q -(failuer after finalization) +(failure after finalization) >>> from hgclient import readchannel, runcommand, check >>> @check diff -r b19291e5d506 -r 318a24b52eeb tests/test-extension.t --- a/tests/test-extension.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-extension.t Mon Oct 17 23:16:55 2016 +0200 @@ -251,10 +251,10 @@ #if demandimport absimport -Examine whether module loading is delayed until actual refering, even +Examine whether module loading is delayed until actual referring, even though module is imported with "absolute_import" feature. -Files below in each packages are used for descirbed purpose: +Files below in each packages are used for described purpose: - "called": examine whether "from MODULE import ATTR" works correctly - "unused": examine whether loading is delayed correctly diff -r b19291e5d506 -r 318a24b52eeb tests/test-filecache.py --- a/tests/test-filecache.py Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-filecache.py Mon Oct 17 23:16:55 2016 +0200 @@ -197,7 +197,7 @@ repetition = 3 # repeat changing via checkambigatclosing, to examine whether - # st_mtime is advanced multiple times as expecetd + # st_mtime is advanced multiple times as expected for i in xrange(repetition): # explicit closing fp = scmutil.checkambigatclosing(open(filename, 'a')) @@ -214,7 +214,7 @@ continue # st_mtime should be advanced "repetition * 2" times, because - # all changes occured at same time (in sec) + # all changes occurred at same time (in sec) expected = (oldstat.st_mtime + repetition * 2) & 0x7fffffff if newstat.st_mtime != expected: print("'newstat.st_mtime %s is not %s (as %s + %s * 2)" % diff -r b19291e5d506 -r 318a24b52eeb tests/test-generaldelta.t --- a/tests/test-generaldelta.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-generaldelta.t Mon Oct 17 23:16:55 2016 +0200 @@ -74,7 +74,7 @@ $ cd .. Test "usegeneraldelta" config -(repo are general delta, but incoming bundle are not re-deltified) +(repo are general delta, but incoming bundle are not re-deltafied) delta coming from the server base delta server are not recompressed. (also include the aggressive version for comparison) diff -r b19291e5d506 -r 318a24b52eeb tests/test-https.t --- a/tests/test-https.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-https.t Mon Oct 17 23:16:55 2016 +0200 @@ -379,7 +379,7 @@ Fingerprints -- works without cacerts (hostkeyfingerprints) +- works without cacerts (hostfingerprints) $ hg -R copy-pull id https://localhost:$HGPORT/ --insecure --config hostfingerprints.localhost=ec:d8:7c:d6:b3:86:d0:4f:c1:b8:b4:1c:9d:8f:5e:16:8e:ef:1c:03 warning: connecting to localhost using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info (?) 5fed3813f7f5 diff -r b19291e5d506 -r 318a24b52eeb tests/test-import.t --- a/tests/test-import.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-import.t Mon Oct 17 23:16:55 2016 +0200 @@ -431,10 +431,10 @@ parent: 0 Test that "hg rollback" doesn't restore dirstate to one at the -beginning of the rollbacked transaction in not-"parent-gone" case. +beginning of the rolled back transaction in not-"parent-gone" case. invoking pretxncommit hook will cause marking '.hg/dirstate' as a file -to be restored at rollbacking, after DirstateTransactionPlan (see wiki +to be restored when rolling back, after DirstateTransactionPlan (see wiki page for detail). $ hg --cwd b branch -q foobar @@ -451,7 +451,7 @@ $ hg --cwd b update -q -C 0 $ hg --cwd b --config extensions.strip= strip -q 1 -Test visibility of in-memory distate changes inside transaction to +Test visibility of in-memory dirstate changes inside transaction to external process $ echo foo > a/foo diff -r b19291e5d506 -r 318a24b52eeb tests/test-largefiles-wireproto.t --- a/tests/test-largefiles-wireproto.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-largefiles-wireproto.t Mon Oct 17 23:16:55 2016 +0200 @@ -388,7 +388,7 @@ $ killdaemons.py -largefiles should not ask for password again after succesfull authorization +largefiles should not ask for password again after successful authorization $ hg init credentialmain $ cd credentialmain diff -r b19291e5d506 -r 318a24b52eeb tests/test-mq-qrefresh-replace-log-message.t --- a/tests/test-mq-qrefresh-replace-log-message.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-mq-qrefresh-replace-log-message.t Mon Oct 17 23:16:55 2016 +0200 @@ -199,7 +199,7 @@ test saving last-message.txt -Test visibility of in-memory distate changes outside transaction to +Test visibility of in-memory dirstate changes outside transaction to external process $ cat > $TESTTMP/checkvisibility.sh <> .hg/hgrc $ echo 'shadowall(all) = all and universe' >> .hg/hgrc diff -r b19291e5d506 -r 318a24b52eeb tests/test-shelve.t --- a/tests/test-shelve.t Thu Nov 03 17:31:14 2016 -0700 +++ b/tests/test-shelve.t Mon Oct 17 23:16:55 2016 +0200 @@ -1493,7 +1493,7 @@ When i unshelve resulting in merge conflicts and makes saved file shelvedstate looks like in previous versions in mercurial(without restore branch information in 7th line) i -expect that after resolving conflicts and succesfully +expect that after resolving conflicts and successfully running 'shelve --continue' the branch information won't be restored and branch will be unchanged. @@ -1587,7 +1587,7 @@ default $ cd .. -Prepare unshleve with a corrupted shelvedstate +Prepare unshelve with a corrupted shelvedstate $ hg init r1 && cd r1 $ echo text1 > file && hg add file $ hg shelve