4528: Errors occurs when displaying file with svn:keyword HeadURL

sloma

What version are you running?

2.5.6.1

What's the URL of the page containing the problem?

internal server ~/<rr id>/diff/1

What steps will reproduce the problem?

  1. Create file like example.txt
  2. run svn propset svn:keywords "HeadURL LastChangedRevision LastChangedDate Author" example.txt
  3. commit it to repo
  4. make changes in file to state like in example2.txt
  5. create diff file
  6. create reviewrequest from diff file
  7. when you try view diff an error occurs
    "The patch to 'example.txt' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.9Vx9U_' for debugging purposes. patch returned: "

What is the expected output? What do you see instead?

expected is correct displaying changes

What operating system are you using? What browser?

Tested on many browsers and operating systems

Please provide any additional information below.

Attached files from /tmp/reviewboard.9Vx9U_

 /**
 $HeadURL$
 $LastChangedRevision$
 $LastChangedDate$
 $Author$
********************************************************/
 /**
 $HeadURL: example.txt $
 $LastChangedRevision$
 $LastChangedDate$
 $Author$
********************************************************/
 /**
 @brief some brief
 $HeadURL$
 $LastChangedRevision$
 $LastChangedDate$
 $Author$
 */
 /**
 $HeadURL: example.txt $
 $LastChangedRevision$
 $LastChangedDate$
 $Author$
********************************************************/
Index: example.txt
--- example.txt (revision 1624)
+++ example.txt (working copy)
@@ -1,6 +1,7 @@
  /**
+ @brief some brief
  $HeadURL$
  $LastChangedRevision$
  $LastChangedDate$
  $Author$
-********************************************************/
+ */
Index: example.txt
--- example.txt (revision 1624)
+++ example.txt (working copy)
@@ -1,6 +1,7 @@
  /**
+ @brief some brief
  $HeadURL$
  $LastChangedRevision$
  $LastChangedDate$
  $Author$
-********************************************************/
+ */