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

[Subclipse-dev] Subclipse svn operations don't seem to match refactoring operations

From: Scott Evans <gse_at_adobe.com>
Date: Thu, 7 Jan 2010 14:00:25 -0800

Hi again from Flash Builder,

I¹m working on this bug:

As you can see, we have some situations where Subclipse appears to be trying
to add a folder twice.

In the first example in that bug, Flash Builder refactoring performs
operations in this order:
 * Modify Child1.as, Child2.as, ParentClass.as
 * Create folder src/com/parent2
 * Create folder src/comchild1
 * Create folder src/com/child2
 * Move ParentClass.as to parent2
 * Move Child1.as to parent2/child1
 * Move Child2.as to parent2/child2
 * Delete folder src/com/parent

However, the Subclipse output implies that svn operations are being
performed in a different order, and in fact for some reason it tries to
create src/com/parent2 a second time. (and then a third time)

--- SVN console excerpt ---------------------------------------
add -N C:\...\src\com\parent2
    A C:/.../src/com/parent2
add -N C:\...\src\com\parent2\child2
    A C:/.../src/com/parent2/child2
move C:/.../parent/child2/Child2.as C:/.../parent2/child2/Child2.as
    A C:/.../src/com/parent2/child2/Child2.as
    D C:/.../src/com/parent/child2/Child2.as
add -N C:\...\src\com\parent2
    Entry already exists
svn: 'C:\...\src\com\parent2' is already under version control

I some some half-cocked theories on why this might be happening, but I
thought I'd first write you guys and get a more informed opinion.

Thanks for any help you can provide, and let me know if there's anything I'm
being unclear about.




To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2010-01-07 23:01:44 CET

This is an archived mail posted to the Subclipse Dev mailing list.

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