Package: websvn
Version: 2.3.0-1
Severity: normal
Tags: patch
While requesting a diff between two versions on a file, I sometimes got a "sh:
$tempname: ambiguous redirect" error.
This bug was fixed upstream :
http://websvn.tigris.org/issues/show_bug.cgi?id=264
and marked as included in the version 2.3.1 (maybe coming soon ?)
Here is the patch to fix this in the package :
diff -wurN websvn-2.3.0/include/svnlook.php websvn-2.3.0-fix/include/svnlook.php
--- websvn-2.3.0/include/svnlook.php 2009-12-04 06:53:49.000000000 +0100
+++ websvn-2.3.0-fix/include/svnlook.php 2010-02-23 14:57:00.158492440
+0100
@@ -601,7 +601,7 @@
$cmd = quoteCommand($config->getSvnCommand().' cat
'.$this->repConfig->svnParams().quote($path.'@'.$rev).' | '.
$config->enscript.' --language=html '.
($l ? '--color --pretty-print='.$l : '').' -o -
| '.
- $config->sed.' -n
'.$config->quote.'1,/^<PRE.$/!{/^<\\/PRE.$/,/^<PRE.$/!p;}'.$config->quote.' >
$tempname');
+ $config->sed.' -n
'.$config->quote.'1,/^<PRE.$/!{/^<\\/PRE.$/,/^<PRE.$/!p;}'.$config->quote.' >
'.$tempname);
} else {
$highlighted = false;
$path = encodepath(str_replace(DIRECTORY_SEPARATOR,
'/', $this->getSvnPath($path)));
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (980, 'stable'), (970, 'stable'), (950, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages websvn depends on:
ii apache2 2.2.9-10+lenny6 Apache HTTP Server metapackage
ii apache2-mpm-prefor 2.2.9-10+lenny6 Apache HTTP Server - traditional n
ii debconf [debconf-2 1.5.24 Debian configuration management sy
ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny6 server-side, HTML-embedded scripti
pn php-geshi <none> (no description available)
ii php5 5.2.6.dfsg.1-1+lenny6 server-side, HTML-embedded scripti
ii po-debconf 1.0.15 manage translated Debconf template
ii subversion 1.6.4dfsg-1~bpo50+1 Advanced version control system
ii ucf 3.0016 Update Configuration File: preserv
Versions of packages websvn recommends:
ii enscript 1.6.4-13 Converts ASCII text to Postscript,
websvn suggests no packages.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]