Show More
@@ -1104,7 +1104,7 b' class queue(object):' | |||||
1104 | % prefix) |
|
1104 | % prefix) | |
1105 | for c in ('#', ':'): |
|
1105 | for c in ('#', ':'): | |
1106 | if c in name: |
|
1106 | if c in name: | |
1107 |
raise util.Abort(_(' |
|
1107 | raise util.Abort(_('%r cannot be used in the name of a patch') | |
1108 | % c) |
|
1108 | % c) | |
1109 |
|
1109 | |||
1110 | def checkpatchname(self, name, force=False): |
|
1110 | def checkpatchname(self, name, force=False): |
@@ -108,8 +108,8 b' plain headers' | |||||
108 | abort: ".." cannot be used as the name of a patch |
|
108 | abort: ".." cannot be used as the name of a patch | |
109 | abort: patch name cannot begin with ".hg" |
|
109 | abort: patch name cannot begin with ".hg" | |
110 | abort: patch name cannot begin with ".mq" |
|
110 | abort: patch name cannot begin with ".mq" | |
111 |
abort: |
|
111 | abort: '#' cannot be used in the name of a patch | |
112 |
abort: |
|
112 | abort: ':' cannot be used in the name of a patch | |
113 | % qnew with name containing slash |
|
113 | % qnew with name containing slash | |
114 | abort: path ends in directory separator: foo/ (glob) |
|
114 | abort: path ends in directory separator: foo/ (glob) | |
115 | abort: "foo" already exists as a directory |
|
115 | abort: "foo" already exists as a directory | |
@@ -176,8 +176,8 b' hg headers' | |||||
176 | abort: ".." cannot be used as the name of a patch |
|
176 | abort: ".." cannot be used as the name of a patch | |
177 | abort: patch name cannot begin with ".hg" |
|
177 | abort: patch name cannot begin with ".hg" | |
178 | abort: patch name cannot begin with ".mq" |
|
178 | abort: patch name cannot begin with ".mq" | |
179 |
abort: |
|
179 | abort: '#' cannot be used in the name of a patch | |
180 |
abort: |
|
180 | abort: ':' cannot be used in the name of a patch | |
181 | % qnew with name containing slash |
|
181 | % qnew with name containing slash | |
182 | abort: path ends in directory separator: foo/ (glob) |
|
182 | abort: path ends in directory separator: foo/ (glob) | |
183 | abort: "foo" already exists as a directory |
|
183 | abort: "foo" already exists as a directory |
General Comments 0
You need to be logged in to leave comments.
Login now