Mercurial > evolve
view .hgignore @ 6206:2ec9c87e8574
topic: allow unicode symbols in names as long as they are alphanumeric
I decided to relax this logic just a little bit to allow unicode "word
characters" (i.e. everything that a unicode regex \w matches). This is still
limiting cases that core allows (for branches and bookmarks): core only forbids
certain byte values (like null byte, see scmutil.checknewlabel function).
This extra check for topic names could be dropped altogether and we could rely
solely on checknewlabel(), but I don't know if there isn't some corner case
that topics can't handle. Needs more investigation (and tests).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 19 Mar 2022 19:13:00 +0300 |
parents | ba316ce15040 |
children |
line wrap: on
line source
syntax: glob *.py[cdo] *~ *.swp *.orig *.rej *.egg-info syntax: rootglob .idea/ .mypy_cache/ .pytype/ .vscode/ html/ build/ dist/ MANIFEST tests/easy_run.sh tests/*.err tests/.testtimes* docs/training/graphs/ docs/training/html/ docs/training/index.html docs/training/graphviz-images/ docs/training/img/ docs/training/output/ docs/training/pandocfilters/ docs/tutorials/**.rst docs/figures/**.png docs/static/**.ico