changeset 863:c24130e9ddb7

stupid: add comment noting why we track modified binary files
author Augie Fackler <raf@durin42.com>
date Thu, 19 Apr 2012 17:26:04 -0500
parents 1d07e86f5797
children 39d45f2190ee
files hgsubversion/stupid.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/stupid.py
+++ b/hgsubversion/stupid.py
@@ -323,6 +323,10 @@ def diff_branchrev(ui, svn, meta, branch
     copies = getcopies(svn, meta, branch, branchpath, r, touched_files,
                        parentctx)
 
+    # We note binary files because svn's diff format doesn't describe
+    # what changed, only that a change occurred. This means we'll have
+    # to pull them as fulltexts from the server outside the diff
+    # apply.
     binary_files = set(f.name for f in changed if f.binary)
     exec_files = dict((f.name, f.executable) for f in changed
                       if f.executable is not None)