2583: Unable to process patch for new files with empty revision

stan*****@doktoro******** (Google Code) (Is this you? Claim this profile.)
Nov. 25, 2012
What version are you running?
1.6.6

What's the URL of the page containing the problem?
New Review Request http://domain.com/r/new

What steps will reproduce the problem?
IntelliJ IDEA generates SVN patch with empty revision number for new files. 
Example:

Index: sql/mysql/F_SUBSCRIPTION_ID.sql
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- sql/mysql/F_SUBSCRIPTION_ID.sql	(revision )
+++ sql/mysql/F_SUBSCRIPTION_ID.sql	(revision )
@@ -0,0 +1,3 @@
+use home;
+
+ALTER TABLE T_SUBSCRIPTION ADD F_SUBSCRIPTION_ID VARCHAR(40) NULL;
\ No newline at end of file

And when I manually update revision to 0 RB is able to process it
Example:
--- sql/mysql/F_SUBSCRIPTION_ID.sql	(revision 0)
+++ sql/mysql/F_SUBSCRIPTION_ID.sql	(revision )
david
#1 david
Unfortunately, IntelliJ uses this format both as (revision 0) and (working copy), which are different things. We already have code in there that tries to convert this to be (working copy). See bug 1937 for details. I think fundamentally this is a bug in IntelliJ IDEA.
  • +ThirdParty