[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN Blame Returns Corrupt Data

From: T.J. Perovich <tjperovich_at_gmail.com>
Date: Thu, 10 Oct 2013 12:29:07 -0400

I'm having trouble running svn blame on a particular file. It's returning
garbage.

In TortoiseBlame:
3341 TJP ÿþO
3341 TJP

In the command line:
3341 TJP â– O
3341 TJP

The file is 10.1k lines, not 2. If I run the blame from revision 0 to 3341
it returns the correct information.

In WinMerge and TortoiseMerge, diffing the files shows about 10 lines
changing between 3340 and 3341 (it was merge). However, the command line
diff shows the entire contents being changed with spaces between every
character. So "End Class" reads "E n d C l a s s", etc.. Diffing a merge
post-rev# 3341 show the same spaces between every letter.

svn diff -r 3341:3489 svn://.......

@@ -20032,7 +20058,7 @@

                  F i l l _ d d l L o c a t i o n ( )
                  F i l l _ d d l C o u n t r y ( )

Another strange thing is it's marking these as lines 20,032 and 20,058.
 But in Notepad++ they are lines 10,026 and 10,031. The line numbers in
pre-rev# 3341 diffs match up between the Notepad++ and command line fine.

Any ideas on what happened or how to fix it? I'm most concerned about
getting the blame working again. Please let me know if you need more
information or if I was unclear with anything. Thanks in advance!
Received on 2013-10-10 18:30:29 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.