Show More
@@ -279,6 +279,7 b' class DiffProcessor(object):' | |||||
279 | tag, |
|
279 | tag, | |
280 | l['line'][last:] |
|
280 | l['line'][last:] | |
281 | ) |
|
281 | ) | |
|
282 | ||||
282 | do(line) |
|
283 | do(line) | |
283 | do(next_) |
|
284 | do(next_) | |
284 |
|
285 | |||
@@ -377,8 +378,8 b' class DiffProcessor(object):' | |||||
377 | pass |
|
378 | pass | |
378 |
|
379 | |||
379 | # highlight inline changes |
|
380 | # highlight inline changes | |
380 | for _ in files: |
|
381 | for diff_data in files: | |
381 | for chunk in chunks: |
|
382 | for chunk in diff_data['chunks']: | |
382 | lineiter = iter(chunk) |
|
383 | lineiter = iter(chunk) | |
383 | try: |
|
384 | try: | |
384 | while 1: |
|
385 | while 1: | |
@@ -434,7 +435,7 b' class DiffProcessor(object):' | |||||
434 | new_lineno_class='lineno old', old_lineno_class='lineno new', |
|
435 | new_lineno_class='lineno old', old_lineno_class='lineno new', | |
435 | code_class='code', enable_comments=False, diff_lines=None): |
|
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 | def _link_to_if(condition, label, url): |
|
440 | def _link_to_if(condition, label, url): | |
440 | """ |
|
441 | """ | |
@@ -535,6 +536,8 b' class DiffProcessor(object):' | |||||
535 |
|
536 | |||
536 | def differ(org_repo, org_ref, other_repo, other_ref): |
|
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 | :param org_repo: |
|
542 | :param org_repo: | |
540 | :type org_repo: |
|
543 | :type org_repo: |
General Comments 0
You need to be logged in to leave comments.
Login now