##// END OF EJS Templates
store: raise ProgrammingError if unable to decode a storage path...
Pulkit Goyal -
r40658:66adfd58 default
parent child Browse files
Show More
@@ -38,6 +38,8 b' def _matchtrackedpath(path, matcher):'
38 elif path.startswith('meta/'):
38 elif path.startswith('meta/'):
39 return matcher.visitdir(path[len('meta/'):-len('/00manifest.i')] or '.')
39 return matcher.visitdir(path[len('meta/'):-len('/00manifest.i')] or '.')
40
40
41 raise error.ProgrammingError("cannot decode path %s" % path)
42
41 # This avoids a collision between a file named foo and a dir named
43 # This avoids a collision between a file named foo and a dir named
42 # foo.i or foo.d
44 # foo.i or foo.d
43 def _encodedir(path):
45 def _encodedir(path):
General Comments 0
You need to be logged in to leave comments. Login now