subversion/subversion.viewvc-r1419.patch

28 lines
1.0 KiB
Diff

------------------------------------------------------------------------
r1419 | cmpilato | 2006-08-01 18:17:39 +0000 (Tue, 01 Aug 2006) | 9 lines
Backport r1416 to the 1.0.x branch.
* lib/vclib/svn/__init__.py
(BlameSource.__init__): Pass the --non-interactive flag to 'svn blame'
so it doesn't wedge when cache authstuffs aren't available or sufficient.
---
lib/vclib/svn/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: lib/vclib/svn/__init__.py
===================================================================
--- lib/vclib/svn/__init__.py.orig
+++ lib/vclib/svn/__init__.py
@@ -493,7 +493,8 @@ class BlameSource:
url = 'file://' + string.join([rootpath, fs_path], "/")
fp = popen.popen(svn_client_path,
- ('blame', "-r%d" % int(rev), "%s@%d" % (url, int(rev))),
+ ('blame', "-r%d" % int(rev), "--non-interactive",
+ "%s@%d" % (url, int(rev))),
'rb', 1)
self.fp = fp