Package: subversion Version: 1.4.6dfsg1-1 Severity: important
Hi,
I've recently recoded debian/copyright to UTF-8 in one of my svn-managed
Debian packages. After some time I discovered that svn silenlty refused
to commit that change, i.e. file in repository is still encoded in ISO-8859-1,
however my working copy of that file is in UTF-8.
Attached is a simple test case, which reproduces the bug. Here's its
output:
[ snip ]
+ svn co file:///tmp/svn/repository workdir
Checked out revision 0.
+ cd workdir
/tmp/svn/workdir
+ /bin/echo 'Ińaki García'
+ svn add test
A test
+ svn commit -m 'text in iso-8859-1' test
Adding test
Transmitting file data .
Committed revision 1.
+ recode ISO-8859-1..UTF-8 test
+ svn commit -m 'text recoded to UTF-8' test
Note, there's no "Commited revision" message
+ svn update
At revision 1.
+ svn diff
Svn thinks the file didn't change...
+ cd ..
+ svn co file:///tmp/svn/repository workdir2
A workdir2/test
Checked out revision 1.
+ diff -u workdir/test workdir2/test
--- workdir/test 2008-02-17 14:14:11.000000000 +0100
+++ workdir2/test 2008-02-17 14:14:13.000000000 +0100
@@ -1 +1 @@
-IĂąaki GarcĂa
+Ińaki García
... but it did!
To actually commit the recoded file, one needs to do some unrelated change,
for example add a space.
Regards,
robert
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/pdksh
Versions of packages subversion depends on:
ii libapr1 1.2.11-1 The Apache Portable Runtime Librar
ii libc6 2.7-8 GNU C Library: Shared libraries
ii libsvn1 1.4.6dfsg1-1 Shared libraries used by Subversio
subversion recommends no packages.
-- no debconf information
test.sh
Description: Bourne shell script

