Show More
@@ -2226,6 +2226,12 b' def _filepairs(ctx1, modified, added, re' | |||
|
2226 | 2226 | |
|
2227 | 2227 | def trydiff(repo, revs, ctx1, ctx2, modified, added, removed, |
|
2228 | 2228 | copy, getfilectx, opts, losedatafn, prefix): |
|
2229 | '''given input data, generate a diff and yield it in blocks | |
|
2230 | ||
|
2231 | If generating a diff would lose data like flags or binary data and | |
|
2232 | losedatafn is not None, it will be called. | |
|
2233 | ||
|
2234 | prefix is added to every path in the diff output.''' | |
|
2229 | 2235 | |
|
2230 | 2236 | def gitindex(text): |
|
2231 | 2237 | if not text: |
General Comments 0
You need to be logged in to leave comments.
Login now