Tag Problems w/Switched WC

organicveggie
Posts: 4
Joined: Fri Apr 13, 2007 8:36 pm
Location: USA

Tag Problems w/Switched WC

Postby organicveggie » Fri Apr 13, 2007 8:56 pm

So I'm pretty certain I discovered a problem with Subversive 1.1.1 and SVNKit 1.1.1 under Eclipse 3.2.2 on Java 1.5.0_10 on Linux (SuSE 10.2). If you have a working copy (WC) that has switched content and you tag your WC, the tag should be created using the switched files. This works correctly from the Subversion 1.4.x command line client.

Example:
1) Create a basic repository layout (assume this is revision 1):

Code: Select all

MyProject/
  tags/
  trunk/


2) Add some files to the trunk in r2:

Code: Select all

MyProject/
  tags/
  trunk/
    A.java@r2
    B.java@r2


3) Tag the trunk trunk in r3:

Code: Select all

MyProject/
  tags/
    TAG_A/
      A.java from trunk@r2
      B.java from trunk@r2
  trunk/
    A.java@r2
    B.java@r2


4) Modify one of the files in the trunk in r4:

Code: Select all

MyProject/
  tags/
    TAG_A/
      A.java from trunk@r2
      B.java from trunk@r2
  trunk/
    A.java@r4
    B.java@r2


5) Check out the TAG_A tag at the HEAD revision.

6) Switch the A.java file from TAG_A to trunk/A.java@r4

7) Tag your WC as TAG_B and A.java will come from TAG_A/A.java instead of trunk/A.java@r4:

Code: Select all

MyProject/
  tags/
    TAG_A/
      A.java from trunk@r2
      B.java from trunk@r2
    TAG_B/
      A.java from TAG_A@r2 ****
      B.java from TAG_A@r2
  trunk/
    A.java@r4
    B.java@r2


Again, if you perform this process using the SVN command line client, TAG_B/A.java is appropriately copied from trunk/A.java@r4 and looks something like:

Code: Select all

Name: TAG_B
Path: MyProject/tags
Copied from: MyProject/tags/TAG_A
Copied from Revision: 3

Name: A.java
Path: MyProject/tags/TAG_B/A.java
Copied from: MyProject/trunk/A.java
Copied from Revision: 4


Any chance we can get this on the list of bugs and possibly get it fixed?

-S

Return to “Polarion Subversive - Eclipse Client for SVN”

Who is online

Users browsing this forum: No registered users and 5 guests