# HG changeset patch # User Augie Fackler # Date 1334874364 18000 # Node ID c24130e9ddb79d6a6efcf00a790d5910344a69f1 # Parent 1d07e86f57976a0fae7c5e32d1502def56518f26 stupid: add comment noting why we track modified binary files diff --git a/hgsubversion/stupid.py b/hgsubversion/stupid.py --- 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)