##// END OF EJS Templates
Merge spelling fixes
Bryan O'Sullivan -
r17537:31f32a96 merge default
parent child Browse files
Show More
@@ -461,7 +461,7 b' Each key is of the form (section . name)'
461 461 (defun hg-complete-repo (string predicate all)
462 462 "Attempt to complete a repository name.
463 463 We complete on either symbolic names from Mercurial's config or real
464 directory names from the file system. We do not penalise URLs."
464 directory names from the file system. We do not penalize URLs."
465 465 (or (if all
466 466 (all-completions string hg-repo-completion-table predicate)
467 467 (try-completion string hg-repo-completion-table predicate))
@@ -27,7 +27,7 b''
27 27 "
28 28 " You still can read the documentation at the end of this file. Locate it by
29 29 " searching the "hgcommand-contents" string (and set ft=help to have
30 " appropriate syntaxic coloration).
30 " appropriate syntactic coloration).
31 31
32 32 " Section: Plugin header {{{1
33 33
@@ -752,7 +752,7 b' function! s:HGCommit(...)'
752 752 " Protect against case and backslash issues in Windows.
753 753 let autoPattern = '\c' . messageFileName
754 754
755 " Ensure existance of group
755 " Ensure existence of group
756 756 augroup HGCommit
757 757 augroup END
758 758
@@ -17,7 +17,7 b''
17 17 "
18 18 " 0.2.1 - Minor temp directory autodetection logic and cleanup
19 19 "
20 " 0.2 - Removed the need for filterdiff by implemeting it in pure vim script
20 " 0.2 - Removed the need for filterdiff by implementing it in pure vim script
21 21 " - Added DiffReview command for reverse (changed repository to
22 22 " pristine state) reviews.
23 23 " (PatchReview does pristine repository to patch review)
@@ -158,7 +158,7 b' class Translator(nodes.NodeVisitor):'
158 158 """"""
159 159
160 160 words_and_spaces = re.compile(r'\S+| +|\n')
161 document_start = """Man page generated from reStructeredText."""
161 document_start = """Man page generated from reStructuredText."""
162 162
163 163 def __init__(self, document):
164 164 nodes.NodeVisitor.__init__(self, document)
@@ -900,7 +900,7 b' class Translator(nodes.NodeVisitor):'
900 900 # ``.PP`` : Start standard indented paragraph.
901 901 # ``.LP`` : Start block paragraph, all except the first.
902 902 # ``.P [type]`` : Start paragraph type.
903 # NOTE dont use paragraph starts because they reset indentation.
903 # NOTE don't use paragraph starts because they reset indentation.
904 904 # ``.sp`` is only vertical space
905 905 self.ensure_eol()
906 906 self.body.append('.sp\n')
@@ -45,7 +45,7 b' Access via XMLRPC/email uses XMLRPC to q'
45 45 email to the Bugzilla email interface to submit comments to bugs.
46 46 The From: address in the email is set to the email address of the Mercurial
47 47 user, so the comment appears to come from the Mercurial user. In the event
48 that the Mercurial user email is not recognised by Bugzilla as a Bugzilla
48 that the Mercurial user email is not recognized by Bugzilla as a Bugzilla
49 49 user, the email associated with the Bugzilla username used to log into
50 50 Bugzilla is used instead as the source of the comment. Marking bugs fixed
51 51 works on all supported Bugzilla versions.
@@ -53,7 +53,7 b' works on all supported Bugzilla versions'
53 53 Configuration items common to all access modes:
54 54
55 55 bugzilla.version
56 This access type to use. Values recognised are:
56 The access type to use. Values recognized are:
57 57
58 58 :``xmlrpc``: Bugzilla XMLRPC interface.
59 59 :``xmlrpc+email``: Bugzilla XMLRPC and email interfaces.
@@ -303,7 +303,7 b' class bzaccess(object):'
303 303 # Methods to be implemented by access classes.
304 304 #
305 305 # 'bugs' is a dict keyed on bug id, where values are a dict holding
306 # updates to bug state. Recognised dict keys are:
306 # updates to bug state. Recognized dict keys are:
307 307 #
308 308 # 'hours': Value, float containing work hours to be updated.
309 309 # 'fix': If key present, bug is to be marked fixed. Value ignored.
@@ -43,7 +43,7 b' def _create_auth_baton(pool):'
43 43 svn.client.get_ssl_client_cert_pw_file_provider(pool),
44 44 svn.client.get_ssl_server_trust_file_provider(pool),
45 45 ]
46 # Platform-dependant authentication methods
46 # Platform-dependent authentication methods
47 47 getprovider = getattr(svn.core, 'svn_auth_get_platform_specific_provider',
48 48 None)
49 49 if getprovider:
@@ -99,7 +99,7 b" testedwith = 'internal'"
99 99 # Matches a lone LF, i.e., one that is not part of CRLF.
100 100 singlelf = re.compile('(^|[^\r])\n')
101 101 # Matches a single EOL which can either be a CRLF where repeated CR
102 # are removed or a LF. We do not care about old Machintosh files, so a
102 # are removed or a LF. We do not care about old Macintosh files, so a
103 103 # stray CR is an error.
104 104 eolre = re.compile('\r*\n')
105 105
@@ -61,7 +61,7 b' PyDoc_STRVAR('
61 61 init_doc,
62 62 "init() -> fd\n"
63 63 "\n"
64 "Initialise an inotify instance.\n"
64 "Initialize an inotify instance.\n"
65 65 "Return a file descriptor associated with a new inotify event queue.");
66 66
67 67 static PyObject *add_watch(PyObject *self, PyObject *args)
@@ -1696,7 +1696,7 b' def debugdag(ui, repo, file_=None, *revs'
1696 1696 """format the changelog or an index DAG as a concise textual description
1697 1697
1698 1698 If you pass a revlog index, the revlog's DAG is emitted. If you list
1699 revision numbers, they get labelled in the output as rN.
1699 revision numbers, they get labeled in the output as rN.
1700 1700
1701 1701 Otherwise, the changelog DAG of the current repo is emitted.
1702 1702 """
@@ -67,9 +67,9 b' class config(object):'
67 67 return self._data.get(section, {}).get(item, default)
68 68
69 69 def backup(self, section, item):
70 """return a tuple allowing restore to reinstall previous values
70 """return a tuple allowing restore to reinstall a previous value
71 71
72 The main reason we need it is because it handle the "no data" case.
72 The main reason we need it is because it handles the "no data" case.
73 73 """
74 74 try:
75 75 value = self._data[section][item]
@@ -56,13 +56,13 b' def parsedag(desc):'
56 56 ... :forkhere # a label for the last of the 3 nodes from above
57 57 ... +5 # 5 more nodes on one branch
58 58 ... :mergethis # label again
59 ... <forkhere # set default parent to labelled fork node
59 ... <forkhere # set default parent to labeled fork node
60 60 ... +10 # 10 more nodes on a parallel branch
61 61 ... @stable # following nodes will be annotated as "stable"
62 62 ... +5 # 5 nodes in stable
63 63 ... !addfile # custom command; could trigger new file in next node
64 64 ... +2 # two more nodes
65 ... /mergethis # merge last node with labelled node
65 ... /mergethis # merge last node with labeled node
66 66 ... +4 # 4 more nodes descending from merge node
67 67 ...
68 68 ... """)))
@@ -299,9 +299,9 b' class localrepository(object):'
299 299 def hiddenrevs(self):
300 300 """hiddenrevs: revs that should be hidden by command and tools
301 301
302 This set is carried on the repo to ease initialisation and lazy
302 This set is carried on the repo to ease initialization and lazy
303 303 loading; it'll probably move back to changelog for efficiency and
304 consistency reason
304 consistency reasons.
305 305
306 306 Note that the hiddenrevs will needs invalidations when
307 307 - a new changesets is added (possible unstable above extinct)
@@ -122,7 +122,7 b' class lock(object):'
122 122 def release(self):
123 123 """release the lock and execute callback function if any
124 124
125 If the lock has been acquired multiple time, the actual release is
125 If the lock has been acquired multiple times, the actual release is
126 126 delayed to the last release call."""
127 127 if self.held > 1:
128 128 self.held -= 1
@@ -226,9 +226,9 b' class obsstore(object):'
226 226 self.caches.clear()
227 227 return len(new)
228 228
229 def mergemarkers(self, transation, data):
229 def mergemarkers(self, transaction, data):
230 230 markers = _readmarkers(data)
231 self.add(transation, markers)
231 self.add(transaction, markers)
232 232
233 233 def _load(self, markers):
234 234 for mark in markers:
@@ -320,7 +320,7 b' def successormarkers(ctx):'
320 320 def anysuccessors(obsstore, node):
321 321 """Yield every successor of <node>
322 322
323 This is a linear yield unsuitable to detect split changesets."""
323 This is a linear yield unsuited to detecting split changesets."""
324 324 remaining = set([node])
325 325 seen = set(remaining)
326 326 while remaining:
@@ -13,7 +13,7 b''
13 13 # tokenizer is an iterator that returns type, value pairs
14 14 # elements is a mapping of types to binding strength, prefix and infix actions
15 15 # an action is a tree node name, a tree label, and an optional match
16 # __call__(program) parses program into a labelled tree
16 # __call__(program) parses program into a labeled tree
17 17
18 18 import error
19 19 from i18n import _
@@ -315,7 +315,7 b' def listphases(repo):'
315 315 return keys
316 316
317 317 def pushphase(repo, nhex, oldphasestr, newphasestr):
318 """List phases root for serialisation over pushkey"""
318 """List phases root for serialization over pushkey"""
319 319 lock = repo.lock()
320 320 try:
321 321 currentphase = repo[nhex].phase()
@@ -10,7 +10,7 b' test-qrecord'
10 10 test-strict
11 11
12 12 # --inotify activates de facto the inotify extension. It does not play well
13 # with inotify-specific tests, which activate/desactivate inotify at will:
13 # with inotify-specific tests, which activate/deactivate inotify at will:
14 14 test-inotify
15 15 test-inotify-debuginotify
16 16 test-inotify-dirty-dirstate
@@ -34,7 +34,7 b' set bookmark'
34 34
35 35 $ hg book test2
36 36
37 update to -2 (inactives the active bookmark)
37 update to -2 (deactivates the active bookmark)
38 38
39 39 $ hg update -r -2
40 40 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -139,7 +139,7 b' moving a missing file'
139 139 foo3 does not exist!
140 140 $ hg up -qC .
141 141
142 copy --after to a nonexistant target filename
142 copy --after to a nonexistent target filename
143 143 $ hg cp -A foo dummy
144 144 foo: not recording copy - dummy does not exist
145 145
@@ -1,4 +1,4 b''
1 Just exercize debugindexdot
1 Just exercise debugindexdot
2 2 Create a short file history including a merge.
3 3 $ hg init t
4 4 $ cd t
@@ -15,9 +15,9 b' Same issue, different code path'
15 15
16 16 $ hg up -C
17 17 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
18 $ touch doesnt-exist-in-1
18 $ touch does-not-exist-in-1
19 19 $ hg add
20 adding doesnt-exist-in-1
20 adding does-not-exist-in-1
21 21 $ hg ci -m third
22 $ rm doesnt-exist-in-1
22 $ rm does-not-exist-in-1
23 23 $ hg diff -r 1
@@ -12,7 +12,7 b" fl = repo.file('foobar')"
12 12
13 13 def addrev(text, renamed=False):
14 14 if renamed:
15 # data doesnt matter. Just make sure filelog.renamed() returns True
15 # data doesn't matter. Just make sure filelog.renamed() returns True
16 16 meta = dict(copyrev=hex(nullid), copy='bar')
17 17 else:
18 18 meta = {}
@@ -529,12 +529,12 b' test python hook configured with python:'
529 529 [1]
530 530
531 531 $ echo '[hooks]' > .hg/hgrc
532 $ echo "update.ne = python:`pwd`/nonexisting.py:testhook" >> .hg/hgrc
532 $ echo "update.ne = python:`pwd`/nonexistent.py:testhook" >> .hg/hgrc
533 533 $ echo "pre-identify.npmd = python:`pwd`/:no_python_module_dir" >> .hg/hgrc
534 534
535 535 $ hg up null
536 536 loading update.ne hook failed:
537 abort: No such file or directory: $TESTTMP/d/repo/nonexisting.py
537 abort: No such file or directory: $TESTTMP/d/repo/nonexistent.py
538 538 [255]
539 539
540 540 $ hg id
@@ -581,7 +581,7 b' commit and update hooks should run after'
581 581 cb9a9f314b8b
582 582 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
583 583
584 make sure --verbose (and --quiet/--debug etc.) are propogated to the local ui
584 make sure --verbose (and --quiet/--debug etc.) are propagated to the local ui
585 585 that is passed to pre/post hooks
586 586
587 587 $ echo '[hooks]' > .hg/hgrc
@@ -22,7 +22,7 b' let the daemon finish its stuff'
22 22
23 23 $ sleep 1
24 24
25 eed to test all file opperations
25 eed to test all file operations
26 26
27 27 $ hg rm a
28 28 $ rm b
@@ -814,7 +814,7 b' Clone to test global and local configura'
814 814
815 815 $ cd ..
816 816
817 Expansion in destinaton with global configuration
817 Expansion in destination with global configuration
818 818
819 819 $ hg --quiet clone Test globalconf
820 820 $ cat globalconf/a
@@ -191,7 +191,7 b' or true.executable not found in PATH:'
191 191 false.whatever=
192 192 true.priority=1
193 193 # hg update -C 1
194 $ hg merge -r 2 --config merge-tools.true.executable=nonexistingmergetool
194 $ hg merge -r 2 --config merge-tools.true.executable=nonexistentmergetool
195 195 merging f
196 196 merging f failed!
197 197 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
@@ -212,7 +212,7 b' or true.executable with bogus path:'
212 212 false.whatever=
213 213 true.priority=1
214 214 # hg update -C 1
215 $ hg merge -r 2 --config merge-tools.true.executable=/nonexisting/mergetool
215 $ hg merge -r 2 --config merge-tools.true.executable=/nonexistent/mergetool
216 216 merging f
217 217 merging f failed!
218 218 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
@@ -336,7 +336,7 b' merge-patterns specifies executable not '
336 336 true.priority=1
337 337 true.executable=cat
338 338 # hg update -C 1
339 $ hg merge -r 2 --config merge-patterns.f=true --config merge-tools.true.executable=nonexistingmergetool
339 $ hg merge -r 2 --config merge-patterns.f=true --config merge-tools.true.executable=nonexistentmergetool
340 340 couldn't find merge tool true specified for f
341 341 merging f
342 342 merging f failed!
@@ -359,7 +359,7 b' merge-patterns specifies executable with'
359 359 true.priority=1
360 360 true.executable=cat
361 361 # hg update -C 1
362 $ hg merge -r 2 --config merge-patterns.f=true --config merge-tools.true.executable=/nonexisting/mergetool
362 $ hg merge -r 2 --config merge-patterns.f=true --config merge-tools.true.executable=/nonexistent/mergetool
363 363 couldn't find merge tool true specified for f
364 364 merging f
365 365 merging f failed!
@@ -240,7 +240,7 b' qimport -e --name with --force'
240 240
241 241 qimport with bad name, should abort before reading file
242 242
243 $ hg qimport non-existant-file --name .hg
243 $ hg qimport non-existent-file --name .hg
244 244 abort: patch name cannot begin with ".hg"
245 245 [255]
246 246
@@ -34,7 +34,7 b' test qpush on empty series'
34 34 $ python -c 'print "\xe9"' > message
35 35 $ cat .hg/patches/bad-patch >> message
36 36 $ mv message .hg/patches/bad-patch
37 $ hg qpush -a && echo 'qpush succeded?!'
37 $ hg qpush -a && echo 'qpush succeeded?!'
38 38 applying patch1
39 39 applying patch2
40 40 applying bad-patch
@@ -1,4 +1,4 b''
1 Environement setup for MQ
1 Environment setup for MQ
2 2
3 3 $ echo "[extensions]" >> $HGRCPATH
4 4 $ echo "mq=" >> $HGRCPATH
@@ -207,7 +207,7 b' qrefresh --short tests:'
207 207
208 208 $ echo 'orphan' > orphanchild
209 209 $ hg add orphanchild
210 $ hg qrefresh nonexistingfilename # clear patch
210 $ hg qrefresh nonexistentfilename # clear patch
211 211 $ hg qrefresh --short 1/base
212 212 $ hg qrefresh --short 2/base
213 213
@@ -478,7 +478,7 b" both into 'revision' and 'patch file und"
478 478 adding .hgsub
479 479 $ hg -R sub update -C 1
480 480 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
481 $ hg commit -Am '#2 in parent (but be rollbacked soon)'
481 $ hg commit -Am '#2 in parent (but will be rolled back soon)'
482 482 $ hg rollback
483 483 repository tip rolled back to revision 1 (undo commit)
484 484 working directory now based on revision 1
@@ -1877,7 +1877,7 b' test single flag for multiple patches:'
1877 1877 +b
1878 1878
1879 1879
1880 test mutiple flags for single patch:
1880 test multiple flags for single patch:
1881 1881 $ hg email --date '1970-1-1 0:1' -n --flag fooFlag --flag barFlag -f quux -t foo \
1882 1882 > -c bar -s test -r 2
1883 1883 this patch series consists of 1 patches.
@@ -68,7 +68,7 b' Issue622: hg init && hg pull -u URL does'
68 68
69 69 Test 'file:' uri handling:
70 70
71 $ hg pull -q file://../test-doesnt-exist
71 $ hg pull -q file://../test-does-not-exist
72 72 abort: file:// URLs can only refer to localhost
73 73 [255]
74 74
@@ -108,9 +108,9 b' qrecord patch (mq not present)'
108 108
109 109 help (bad mq)
110 110
111 $ echo "mq=nonexistant" >> $HGRCPATH
111 $ echo "mq=nonexistent" >> $HGRCPATH
112 112 $ hg help qrecord
113 *** failed to import extension mq from nonexistant: [Errno 2] * (glob)
113 *** failed to import extension mq from nonexistent: [Errno 2] * (glob)
114 114 hg qrecord [OPTION]... PATCH [FILE]...
115 115
116 116 interactively record a new patch
@@ -121,7 +121,7 b' help (bad mq)'
121 121
122 122 help (mq present)
123 123
124 $ sed 's/mq=nonexistant/mq=/' $HGRCPATH > hgrc.tmp
124 $ sed 's/mq=nonexistent/mq=/' $HGRCPATH > hgrc.tmp
125 125 $ mv hgrc.tmp $HGRCPATH
126 126
127 127 $ hg help qrecord
@@ -78,7 +78,7 b' Abort:'
78 78 $ cd ..
79 79
80 80
81 Constrcut new repo:
81 Construct new repo:
82 82
83 83 $ hg init b
84 84 $ cd b
@@ -66,7 +66,7 b' rename --after a single file when src an'
66 66 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
67 67 $ rm d2/c
68 68
69 rename --after a single file to a nonexistant target filename
69 rename --after a single file to a nonexistent target filename
70 70
71 71 $ hg rename --after d1/a dummy
72 72 d1/a: not recording move - dummy does not exist (glob)
@@ -138,7 +138,7 b' class TestMerge3(TestCase):'
138 138 ['aaa', 'bbb', 'zz'],
139 139 ['zz'])
140 140
141 # todo: should use a sentinal at end as from get_matching_blocks
141 # todo: should use a sentinel at end as from get_matching_blocks
142 142 # to match without zz
143 143 self.assertEquals(list(m3.find_sync_regions()),
144 144 [(0, 1, 2, 3, 0, 1),
@@ -156,7 +156,7 b' class TestMerge3(TestCase):'
156 156 m3 = Merge3([],
157 157 ['aaa', 'bbb'],
158 158 [])
159 # todo: should use a sentinal at end as from get_matching_blocks
159 # todo: should use a sentinel at end as from get_matching_blocks
160 160 # to match without zz
161 161 self.assertEquals(list(m3.find_sync_regions()),
162 162 [(0, 0, 2, 2, 0, 0)])
@@ -97,8 +97,8 b' trying to push'
97 97 trying clone -r
98 98
99 99 $ cd ..
100 $ hg clone -r donotexist static-http://localhost:$HGPORT/remote local0
101 abort: unknown revision 'donotexist'!
100 $ hg clone -r doesnotexist static-http://localhost:$HGPORT/remote local0
101 abort: unknown revision 'doesnotexist'!
102 102 [255]
103 103 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0
104 104 adding changesets
@@ -46,7 +46,7 b' test what happens if we want to trick hg'
46 46 $ rm dir/a.o
47 47 $ rm dir/b.o
48 48 $ mkdir dir/a.o
49 $ ln -s nonexist dir/b.o
49 $ ln -s nonexistent dir/b.o
50 50 $ mkfifo a.c
51 51
52 52 it should show a.c, dir/a.o and dir/b.o deleted
General Comments 0
You need to be logged in to leave comments. Login now