Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 1646] New - Synchronize and Update of a new Directory with new Files failed

subclipse
Discussion topic

Back to topic list

[Issue 1646] New - Synchronize and Update of a new Directory with new Files failed

Author marcmuel
Full name Marcus Müller
Date 2016-02-18 09:08:44 PST
Message http://subclipse.tig​ris.org/issues/show_​bug.cgi?id=1646
                 Issue #|1646
                 Summary|Synchronize and Update of a new Directory with new Fil
                        |es failed
               Component|subclipse
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|core
             Assigned to|issues@subclipse
             Reported by|marcmuel






------- Additional comments from marcmuel at tigris dot org Thu Feb 18 09:08:32 -0800 2016 -------
Subclipse version: 1.10.11
Eclipse: Mars (4.5)

In my case the new Workspace-Folder WWS_DEV/WwsVersand/User with 4 new files
inside was committed by a co-worker.

After a Synchronize on the whole Project I can see only the Folder
WWS_DEV/WwsVersand/User as an incoming change. The new file wasn’t listed. If I
open “SVN Repository Exploring” I can see that these files are really committed
to the repository with the revision 14449.

I’ve made an update to the changeset and following update-command was reported:

update C:/XXX/WWS_DEV/WwsVersand/User -r 14449 --depth=empty --force
    A C:/XXX/WWS_DEV/WwsVersand/User
    Updated to revision 14449.
    ===== File Statistics: =====
    Added: 1

As expected the 4 new files wasn’t updated. Only the folder was created. In this
Situation I have no chance to get these files with Subclipse.

I had to update the files with the svn client directly. But when I tried this I
found another problem. I tried to update the content of the folder:

c:\XXX\WWS_DEV\Ww​sVersand\User>sv​n up
Aktualisiere ».«:
Revision 14449.

The files won’t come. Second try:

c:\XXX\WWS_DEV\Ww​sVersand\User>sv​n up --depth=files
Aktualisiere ».«:
Revision 14449.


The same result. No files in my working copy.

I issued the svn info command and found the solution:


c:\_XXX\WWS_DEV\W​wsVersand\User>s​vn info
Pfad: .
Wurzelpfad der Arbeitskopie: C:\XXX\WWS_DEV
URL: http://john:8888/svn​/WWS-Repository/trun​k/WWS/WwsVersand/Use​r
Relative URL: ^/trunk/WWS/WwsVersand/User
Basis des Projektarchivs: http://xxx:8888/svn/​WWS-Repository
UUID des Projektarchivs: d8a95d6f-5a14-664c-a​d31-e6effe1ca67f
Revision: 14449
Knotentyp: Verzeichnis
Plan: normal
Tiefe: »empty«
Letzter Autor: sp
Letzte geänderte Rev: 14449
Letztes Änderungsdatum: 2016-02-18 15:07:26 +0100 (Do, 18. Feb 2016)

The depth-Property (German=Tiefe) of the directory stands on »empty«. So I tried
the following command:

c:\XXX\WWS_DEV\Ww​sVersand\User>sv​n up --set-depth=files
Aktualisiere ».«:
A VersandartChangeUI.java
A VersandartChangeView.java
A VersandartChangeViewCtl.java
A VersandartChangeView​SearchKey.java
Aktualisiert zu Revision 14449.

Now the depth-Property of the directory is correct again and the missing files
are updated.


So we have two Problems:

a) Why the files not shown in the Team Synchronize View?

b) The update on new directories with the –depth=empty option persists this
option as Folder-Property.

Solution:

a) I don’t know???

b) The update-command should use the additional option –set-depth=infinity.
Then the folder will take the expected default-value for the depth-Property.

« Previous message in topic | 1 of 8 | Next message in topic »

Messages

Show all messages in topic

[Issue 1646] New - Synchronize and Update of a new Directory with new Files failed marcmuel Marcus Müller 2016-02-18 09:08:44 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed zagser168 ZagSer168 2016-02-18 23:55:07 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed selsemore Stephen Elsemore 2016-02-19 03:20:32 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed marcmuel Marcus Müller 2016-02-19 09:01:59 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed markphip Mark Phippard 2016-02-19 09:06:55 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed marcmuel Marcus Müller 2016-02-19 09:27:04 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed selsemore Stephen Elsemore 2016-02-19 10:15:44 PST
     [Issue 1646] Synchronize and Update of a new Directory with new Files failed selsemore Stephen Elsemore 2016-02-22 05:26:52 PST
Messages per page: