Show More
@@ -2569,7 +2569,7 b' def trydiff(repo, revs, ctx1, ctx2, modi' | |||||
2569 |
|
2569 | |||
2570 | if relroot != '' and (repo.ui.configbool('devel', 'all-warnings') |
|
2570 | if relroot != '' and (repo.ui.configbool('devel', 'all-warnings') | |
2571 | or repo.ui.configbool('devel', 'check-relroot')): |
|
2571 | or repo.ui.configbool('devel', 'check-relroot')): | |
2572 |
for f in modified + added + removed + copy |
|
2572 | for f in modified + added + removed + list(copy) + list(copy.values()): | |
2573 | if f is not None and not f.startswith(relroot): |
|
2573 | if f is not None and not f.startswith(relroot): | |
2574 | raise AssertionError( |
|
2574 | raise AssertionError( | |
2575 | "file %s doesn't start with relroot %s" % (f, relroot)) |
|
2575 | "file %s doesn't start with relroot %s" % (f, relroot)) |
General Comments 0
You need to be logged in to leave comments.
Login now