Show More
@@ -887,7 +887,7 b' def readrequires(opener, supported):' | |||||
887 | missings = [] |
|
887 | missings = [] | |
888 | for r in requirements: |
|
888 | for r in requirements: | |
889 | if r not in supported: |
|
889 | if r not in supported: | |
890 | if not r or not r[0].isalnum(): |
|
890 | if not r or not r[0:1].isalnum(): | |
891 | raise error.RequirementError(_(".hg/requires file is corrupt")) |
|
891 | raise error.RequirementError(_(".hg/requires file is corrupt")) | |
892 | missings.append(r) |
|
892 | missings.append(r) | |
893 | missings.sort() |
|
893 | missings.sort() |
General Comments 0
You need to be logged in to leave comments.
Login now