Bug 105184 - Force annotation using client.blame3()

git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@1593 6955db30-a419-402b-8a0d-67ecbb4d7f56
remotes/github/custis
vfilippov 2012-08-06 10:49:22 +00:00 committed by Vitaliy Filippov
parent ac063ff93a
commit 4b06eeeb94
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import time
import tempfile
import popen
import re
from svn import fs, repos, core, client, delta
from svn import fs, repos, core, client, delta, diff
### Require Subversion 1.3.1 or better.
@ -321,8 +321,8 @@ class BlameSource:
try:
### TODO: Is this use of FIRST_REV always what we want? Should we
### pass 1 here instead and do filtering later?
client.blame2(local_url, _rev2optrev(rev), _rev2optrev(first_rev),
_rev2optrev(rev), self._blame_cb, ctx)
client.blame3(local_url, _rev2optrev(rev), _rev2optrev(first_rev),
_rev2optrev(rev), diff.svn_diff_file_options_t(), True, self._blame_cb, ctx)
except core.SubversionException, e:
_fix_subversion_exception(e)
if e.apr_err == core.SVN_ERR_CLIENT_IS_BINARY_FILE: