sapling/contrib
FUJIWARA Katsunori dfdbfa6418 check-code: replace quoted characters correctly
d19c9c93ad10 tried to detect '.. note::' more exactly. But
implementation of it seems not correct, because:

  - fromc.find(c) returns -1 for other than "." and ":"
  - tochr[-1] returns "q" for such characters, but
  - expected result for them is "o"

This patch uses dict to manage replacement instead of replacing
str.find() by str.index(), for improvement/refactoring in subsequent
patches. Examination by fixedmap is placed just after examination for
' ' and '\n', because subsequent patch will integrate the latter into
the former.

This patch also changes regexp for 'string join across lines with no
space' rule, and adds detailed test for it, because d19c9c93ad10 did:

  - make repquote() distinguish "." (as "p") and ":" (as "q") from
    others (as "o"), but

  - not change this regexp without any reason (in commit log, at
    least), even though this regexp depends on what "o" means

This patch doesn't focuses on deciding whether "." and/or ":" should
be followed by whitespace or not in translatable messages.
2016-05-31 20:58:10 +09:00
..
chg chg: initialize sockdirfd to -1 instead of AT_FDCWD 2016-04-24 21:35:30 +09:00
debian debian: forgot to make debian/rules executable in 9dad5512e855 2016-05-01 15:26:41 -07:00
docker make: turn ubuntu docker into template 2016-04-26 23:33:17 -07:00
hgsh backout of e4cb9628354c 2011-01-27 11:15:08 +01:00
macosx osx: create a modern package including manpages 2016-04-27 10:20:36 -05:00
plan9 urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
vagrant vagrant: update to official Debian 8.1 base box 2015-09-02 11:52:24 -05:00
vim urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
win32 hgcia: remove hgcia (BC) 2016-05-12 01:03:19 +01:00
wix help: document requirements 2016-03-12 18:51:07 -08:00
all-revsets.txt revset: improves time complexity of 'roots(xxx)' 2015-06-22 10:19:12 -07:00
base-revsets.txt contrib: introduce an all-revsets.txt file 2015-06-16 22:15:30 -07:00
bash_completion bash_completion: add -p|--patch|--stat support for shelve 2015-11-10 19:52:30 +08:00
bdiff-torture.py py3: make contrib/bdiff-torture.py conform to our import style 2016-05-14 14:18:15 +09:00
builddeb builddeb: add distroseries to tagged versions 2016-05-06 14:09:11 -07:00
buildrpm buildrpm: use bash shebang, since we use bash features in the script 2016-01-15 16:16:25 +01:00
casesmash.py casesmash: use absolute_import 2016-03-06 02:25:50 +05:30
check-code.py check-code: replace quoted characters correctly 2016-05-31 20:58:10 +09:00
check-commit py3: make contrib/check-commit use print_function 2016-05-13 02:13:14 +05:30
check-config.py check-config: use absolute_import and print_function 2016-03-06 03:01:46 +05:30
check-py3-compat.py tests: perform an ast parse with Python 3 2016-03-18 16:15:12 -07:00
debugcmdserver.py debugcmdserver: use absolute_import and print_function 2016-03-06 03:06:09 +05:30
debugshell.py debugshell: use absolute_import 2016-03-06 03:19:08 +05:30
dirstatenonnormalcheck.py devel: use the 'config' argument for the dirstate normalisation develwarn 2016-05-08 10:43:41 +02:00
dockerdeb dockerdeb: pass the rest of the args to the builder script 2016-04-23 12:47:57 -07:00
dockerlib.sh dockerlib: short form for non-unique uid/gid for CentOS 5 compat (issue4977) 2015-12-07 17:39:31 +01:00
dockerrpm buildrpm: move creation of RPM directories from dockerrpm 2016-01-07 06:44:37 +01:00
dumprevlog py3: make contrib/dumprevlog use print_function 2016-05-13 02:16:32 +05:30
editmerge editmerge: dequote other use of $ED 2015-10-19 21:36:12 -07:00
fixpax.py fixpax: use absolute_import and print_function 2016-03-06 03:10:17 +05:30
hg-ssh misc: use modern exception syntax 2016-02-10 22:44:29 +09:00
hg-test-mode.el hg-test-mode: make exit code highlight work again 2014-08-12 12:53:23 -05:00
hgclient.py test-commandserver: handle cStringIO.StringIO/io.StringIO divergence 2016-04-06 20:34:34 +00:00
hgk hgk: display committer name when set by hg-git 2015-04-03 22:44:25 +02:00
hgperf contrib: add "hgperf" command to measure performance of commands easily 2014-02-15 19:51:20 +09:00
hgweb.fcgi mq: add a warning about uncommitted changes for qfinish 2011-11-10 15:40:34 -06:00
hgweb.wsgi urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
import-checker.py tests: enable import checker for all python files (including no .py files) 2016-05-15 10:48:05 +09:00
logo-droplets.svg logo: clean up source file with scour 2010-04-05 14:33:41 -05:00
Makefile.python contrib: disable SSLv3_method() to build old Python with recent libssl 2015-11-07 16:31:04 +09:00
memory.py contrib: make memory.py use absolute_import 2016-03-13 01:32:42 +05:30
mercurial.el en-us: penalize 2012-08-17 13:58:19 -07:00
mercurial.spec rpms: add hgext3rd to mercurial.spec 2016-03-23 11:53:11 +08:00
mq.el Remove FSF mailing address from GPL headers 2012-01-06 16:27:13 +01:00
packagelib.sh packaging: rework version detection and declaration (issue4912) 2015-10-26 14:19:37 -04:00
perf.py contrib: make perf.py use absolute_import 2016-03-16 04:12:16 +05:30
pylintrc codingstyle: remove trailing spaces in various text files 2013-04-17 03:40:18 +02:00
python-hook-examples.py contrib: python-hook-examples use absolute_import 2016-03-16 04:13:28 +05:30
revsetbenchmarks.py py3: make contrib/revsetbenchmarks.py not import symbols from stdlib modules 2016-05-14 14:23:04 +09:00
showstack.py showstack: use absolute_import 2016-03-13 01:59:18 +05:30
simplemerge misc: use modern exception syntax 2016-02-10 22:44:29 +09:00
synthrepo.py py3: convert to next() function 2016-05-16 21:30:53 +00:00
tcsh_completion contrib: update tcsh_completion for Mercurial 1.8 2011-03-01 07:28:20 +01:00
tcsh_completion_build.sh contrib: update tcsh_completion for Mercurial 1.8 2011-03-01 07:28:20 +01:00
undumprevlog py3: make contrib/undumprevlog use absolute_import 2016-05-13 02:23:45 +05:30
xml.rnc Added RelaxNG schema for hg log XML output format 2009-12-30 02:44:37 +01:00
zsh_completion debugnamecomplete: rename from debuglabelcomplete 2014-10-17 13:41:29 -07:00