Show More
@@ -279,6 +279,7 b' class DiffProcessor(object):' | |||
|
279 | 279 | tag, |
|
280 | 280 | l['line'][last:] |
|
281 | 281 | ) |
|
282 | ||
|
282 | 283 | do(line) |
|
283 | 284 | do(next_) |
|
284 | 285 | |
@@ -377,8 +378,8 b' class DiffProcessor(object):' | |||
|
377 | 378 | pass |
|
378 | 379 | |
|
379 | 380 | # highlight inline changes |
|
380 | for _ in files: | |
|
381 | for chunk in chunks: | |
|
381 | for diff_data in files: | |
|
382 | for chunk in diff_data['chunks']: | |
|
382 | 383 | lineiter = iter(chunk) |
|
383 | 384 | try: |
|
384 | 385 | while 1: |
@@ -434,7 +435,7 b' class DiffProcessor(object):' | |||
|
434 | 435 | new_lineno_class='lineno old', old_lineno_class='lineno new', |
|
435 | 436 | code_class='code', enable_comments=False, diff_lines=None): |
|
436 | 437 | """ |
|
437 |
Return |
|
|
438 | Return given diff as html table with customized css classes | |
|
438 | 439 | """ |
|
439 | 440 | def _link_to_if(condition, label, url): |
|
440 | 441 | """ |
@@ -535,6 +536,8 b' class DiffProcessor(object):' | |||
|
535 | 536 | |
|
536 | 537 | def differ(org_repo, org_ref, other_repo, other_ref): |
|
537 | 538 | """ |
|
539 | General differ between branches, bookmarks or separate but releated | |
|
540 | repositories | |
|
538 | 541 | |
|
539 | 542 | :param org_repo: |
|
540 | 543 | :type org_repo: |
General Comments 0
You need to be logged in to leave comments.
Login now