Problem with patch files created under subversive

RUok0101
Posts: 1
Joined: Wed Mar 12, 2008 11:41 pm

Problem with patch files created under subversive

Postby RUok0101 » Wed Mar 12, 2008 11:50 pm

Subversive is creating patch files that the command line tool called 'patch' cannot read. The problem is that the file names contained in the patch are missing from the appropriate lines in the patch file. Here is an example:


Snippit from file created by subversive:

Index: src/java/com/liveops/test/tools/telesim/TSSProvider.java
===================================================================
--- . (revision 9008)
+++ . (working copy)
@@ -1076,7 +1076,8 @@

/**
* Look up a provider across all tests and provider objects based on a
- * provider ID.
+ * provider ID. Try and find provider object in an test that is not finished
+ * first, otherwise return the last found finished test provider
*
* It might make sense to have a global map some day as this function could
* get quite slow.



Snippit from file created using svn diff:

Index: src/java/com/liveops/test/tools/telesim/TSSProvider.java
===================================================================
--- src/java/com/liveops/test/tools/telesim/TSSProvider.java (revision 9012)
+++ src/java/com/liveops/test/tools/telesim/TSSProvider.java (working copy)
@@ -1076,7 +1076,8 @@

/**
* Look up a provider across all tests and provider objects based on a
- * provider ID.
+ * provider ID. Try and find provider object in an test that is not finished
+ * first, otherwise return the last found finished test provider
*




Notice how the +++ and --- lines in the subversive version do not contain the filename, but rather just '.'. When using patch to apply, it complains about an invalid file to patch named '.'

The one time I tried to apply the patch back via eclipse it did work, but when working with external people that do not use eclipse, this is a huge problem.



Eclipse SDK
Version: 3.3.1.1
Build id: M20071023-1652

Subversive 2.0.0.v20080214


Anyone else run into this issue?

Return to “Polarion Subversive - Eclipse Client for SVN”

Who is online

Users browsing this forum: No registered users and 1 guest