Show More
@@ -191,13 +191,14 b' class dirstate(object):' | |||
|
191 | 191 | raise util.Abort(_("'\\n' and '\\r' disallowed in filenames")) |
|
192 | 192 | # shadows |
|
193 | 193 | if f in self._dirs: |
|
194 |
raise util.Abort(_('directory |
|
|
194 | raise util.Abort(_('directory %r already in dirstate') % f) | |
|
195 | 195 | for c in strutil.rfindall(f, '/'): |
|
196 | 196 | d = f[:c] |
|
197 | 197 | if d in self._dirs: |
|
198 | 198 | break |
|
199 | 199 | if d in self._map: |
|
200 |
raise util.Abort(_('file |
|
|
200 | raise util.Abort(_('file %r in dirstate clashes with %r') % | |
|
201 | (d, f)) | |
|
201 | 202 | self._incpath(f) |
|
202 | 203 | |
|
203 | 204 | def normal(self, f): |
General Comments 0
You need to be logged in to leave comments.
Login now