equal
deleted
inserted
replaced
2565 date1 = util.datestr(ctx1.date()) |
2565 date1 = util.datestr(ctx1.date()) |
2566 date2 = util.datestr(ctx2.date()) |
2566 date2 = util.datestr(ctx2.date()) |
2567 |
2567 |
2568 gitmode = {'l': '120000', 'x': '100755', '': '100644'} |
2568 gitmode = {'l': '120000', 'x': '100755', '': '100644'} |
2569 |
2569 |
2570 if relroot != '' and (repo.ui.configbool('devel', 'all') |
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.keys() + copy.values(): |
2572 for f in modified + added + removed + copy.keys() + 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)) |