Show More
@@ -456,6 +456,7 b' def diffrevs(' | |||||
456 | label1b = rev1b |
|
456 | label1b = rev1b | |
457 | label2 = rev2 |
|
457 | label2 = rev2 | |
458 |
|
458 | |||
|
459 | if not opts.get(b'per_file'): | |||
459 | # If only one change, diff the files instead of the directories |
|
460 | # If only one change, diff the files instead of the directories | |
460 | # Handle bogus modifies correctly by checking if the files exist |
|
461 | # Handle bogus modifies correctly by checking if the files exist | |
461 | if len(common) == 1: |
|
462 | if len(common) == 1: | |
@@ -472,7 +473,6 b' def diffrevs(' | |||||
472 | dir2 = os.path.join(dir2root, dir2, common_file) |
|
473 | dir2 = os.path.join(dir2root, dir2, common_file) | |
473 | label2 = common_file + rev2 |
|
474 | label2 = common_file + rev2 | |
474 |
|
475 | |||
475 | if not opts.get(b'per_file'): |
|
|||
476 | # Run the external tool on the 2 temp directories or the patches |
|
476 | # Run the external tool on the 2 temp directories or the patches | |
477 | cmdline = formatcmdline( |
|
477 | cmdline = formatcmdline( | |
478 | cmdline, |
|
478 | cmdline, |
General Comments 0
You need to be logged in to leave comments.
Login now