Mercurial > evolve
comparison CHANGELOG @ 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 | a8e02591cede |
children | b5c57fb2ffde |
comparison
equal
deleted
inserted
replaced
6205:9d81041f735f | 6206:2ec9c87e8574 |
---|---|
1 Changelog | 1 Changelog |
2 ========= | 2 ========= |
3 | |
4 10.6.0 - in progress | |
5 -------------------- | |
6 | |
7 topic (0.25.0) | |
8 | |
9 * topic: allow Unicode word characters in topic names | |
3 | 10 |
4 10.5.0 -- 2022-02-23 | 11 10.5.0 -- 2022-02-23 |
5 -------------------- | 12 -------------------- |
6 | 13 |
7 * compatibility with Mercurial 6.1 | 14 * compatibility with Mercurial 6.1 |