##// END OF EJS Templates
merge with stable
Martin Geisler -
r13234:0935ff76 merge default
parent child Browse files
Show More
@@ -991,10 +991,11 b' The full set of options is:'
991 991 third-party tools like email notification hooks can construct
992 992 URLs. Example: ``http://hgserver/repos/``.
993 993 ``cacerts``
994 Path to file containing a list of PEM encoded certificate authority
995 certificates. If specified on the client, then it will verify the identity
996 of remote HTTPS servers with these certificates. The form must be
997 as follows::
994 Path to file containing a list of PEM encoded certificate
995 authority certificates. Environment variables and ``~user``
996 constructs are expanded in the filename. If specified on the
997 client, then it will verify the identity of remote HTTPS servers
998 with these certificates. The form must be as follows::
998 999
999 1000 -----BEGIN CERTIFICATE-----
1000 1001 ... (certificate in base64 PEM encoding) ...
@@ -1880,7 +1880,7 b' def help_(ui, name=None, with_version=Fa'
1880 1880 msg = _('use "hg help" for the full list of commands '
1881 1881 'or "hg -v" for details')
1882 1882 elif aliases:
1883 msg = _('use "hg -v help%s" to show aliases and '
1883 msg = _('use "hg -v help%s" to show builtin aliases and '
1884 1884 'global options') % (name and " " + name or "")
1885 1885 else:
1886 1886 msg = _('use "hg -v help %s" to show global options') % name
@@ -505,7 +505,7 b' class dirstate(object):'
505 505 i, j = 0, 0
506 506 while i < len(files) and j < len(subrepos):
507 507 subpath = subrepos[j] + "/"
508 if not files[i].startswith(subpath):
508 if files[i] < subpath:
509 509 i += 1
510 510 continue
511 511 while files and files[i].startswith(subpath):
@@ -549,6 +549,6 b' def remoteui(src, opts):'
549 549 dst.setconfig(sect, key, val)
550 550 v = src.config('web', 'cacerts')
551 551 if v:
552 dst.setconfig('web', 'cacerts', v)
552 dst.setconfig('web', 'cacerts', util.expandpath(v))
553 553
554 554 return dst
@@ -530,6 +530,8 b' if has_https:'
530 530 def connect(self):
531 531 if hasattr(self, 'ui'):
532 532 cacerts = self.ui.config('web', 'cacerts')
533 if cacerts:
534 cacerts = util.expandpath(cacerts)
533 535 else:
534 536 cacerts = None
535 537
@@ -347,7 +347,7 b' Testing -h/--help:'
347 347 hgweb Configuring hgweb
348 348 glossary Glossary
349 349
350 use "hg -v help" to show aliases and global options
350 use "hg -v help" to show builtin aliases and global options
351 351
352 352 $ hg --help
353 353 Mercurial Distributed SCM
@@ -423,7 +423,7 b' Testing -h/--help:'
423 423 hgweb Configuring hgweb
424 424 glossary Glossary
425 425
426 use "hg -v help" to show aliases and global options
426 use "hg -v help" to show builtin aliases and global options
427 427
428 428 Not tested: --debugger
429 429
@@ -118,7 +118,7 b' Short help:'
118 118 hgweb Configuring hgweb
119 119 glossary Glossary
120 120
121 use "hg -v help" to show aliases and global options
121 use "hg -v help" to show builtin aliases and global options
122 122
123 123 $ hg -q help
124 124 add add the specified files on the next commit
@@ -416,7 +416,7 b' Test ambiguous command help'
416 416 add add the specified files on the next commit
417 417 addremove add all new files, delete all missing files
418 418
419 use "hg -v help ad" to show aliases and global options
419 use "hg -v help ad" to show builtin aliases and global options
420 420
421 421 Test command without options
422 422
@@ -716,7 +716,7 b' Test that default list of commands omits'
716 716 hgweb Configuring hgweb
717 717 glossary Glossary
718 718
719 use "hg -v help" to show aliases and global options
719 use "hg -v help" to show builtin aliases and global options
720 720
721 721 Test list of commands with command with no help text
722 722
@@ -727,7 +727,7 b' Test list of commands with command with '
727 727
728 728 nohelp (no help text available)
729 729
730 use "hg -v help helpext" to show aliases and global options
730 use "hg -v help helpext" to show builtin aliases and global options
731 731
732 732 Test a help topic
733 733
@@ -154,11 +154,12 b' cacert configured in local repo'
154 154 no changes found
155 155 $ mv copy-pull/.hg/hgrc.bu copy-pull/.hg/hgrc
156 156
157 cacert configured globally
157 cacert configured globally, also testing expansion of environment
158 variables in the filename
158 159
159 160 $ echo "[web]" >> $HGRCPATH
160 $ echo "cacerts=`pwd`/pub.pem" >> $HGRCPATH
161 $ hg -R copy-pull pull
161 $ echo 'cacerts=$P/pub.pem' >> $HGRCPATH
162 $ P=`pwd` hg -R copy-pull pull
162 163 pulling from https://localhost:$HGPORT/
163 164 searching for changes
164 165 no changes found
@@ -77,7 +77,7 b' help'
77 77 qunapplied print the patches not yet applied
78 78 strip strip changesets and all their descendants from the repository
79 79
80 use "hg -v help mq" to show aliases and global options
80 use "hg -v help mq" to show builtin aliases and global options
81 81
82 82 $ hg init a
83 83 $ cd a
@@ -656,3 +656,22 b' Try to push from the other side'
656 656 adding manifests
657 657 adding file changes
658 658 added 1 changesets with 1 changes to 1 files
659
660 Check status of files when none of them belong to the first
661 subrepository:
662
663 $ hg init subrepo-status
664 $ cd subrepo-status
665 $ hg init subrepo-1
666 $ hg init subrepo-2
667 $ cd subrepo-2
668 $ touch file
669 $ hg add file
670 $ cd ..
671 $ echo subrepo-1 = subrepo-1 > .hgsub
672 $ echo subrepo-2 = subrepo-2 >> .hgsub
673 $ hg add .hgsub
674 $ hg ci -m 'Added subrepos'
675 committing subrepository subrepo-1
676 committing subrepository subrepo-2
677 $ hg st subrepo-2/file
General Comments 0
You need to be logged in to leave comments. Login now