diff tests/test-topic.t @ 3667:a346b1641dfa

topic: allow '.' in topic names This is also commonly used.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 16 Apr 2018 20:18:10 +0200
parents 81985b9d3e74
children 19ec729f3ca2 6f56ff701746
line wrap: on
line diff
--- a/tests/test-topic.t	Mon Apr 16 10:58:06 2018 -0700
+++ b/tests/test-topic.t	Mon Apr 16 20:18:10 2018 +0200
@@ -117,12 +117,12 @@
 
   $ hg topic 'a12#45'
   abort: invalid topic name: 'a12#45'
-  (topic names can only consist of alphanumeric, '-' and '_' characters)
+  (topic names can only consist of alphanumeric, '-' '_' and '.' characters)
   [255]
 
   $ hg topic 'foo bar'
   abort: invalid topic name: 'foo bar'
-  (topic names can only consist of alphanumeric, '-' and '_' characters)
+  (topic names can only consist of alphanumeric, '-' '_' and '.' characters)
   [255]
 
 this is trying to list topic names
@@ -130,7 +130,7 @@
 
   $ hg topic '*12 B23'
   abort: invalid topic name: '*12 B23'
-  (topic names can only consist of alphanumeric, '-' and '_' characters)
+  (topic names can only consist of alphanumeric, '-' '_' and '.' characters)
   [255]
 
 Test commit flag and help text