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

'X'-folders in subversion 1.7.9/10

From: Julian Ruhe <jruhe_at_axway.com>
Date: Thu, 27 Jun 2013 14:07:23 +0000

Hi,

I have a question regarding the right behavior of info and status commands on file externals and new files resisting in 'X'-folders. This is what I do:

jruhe_at_wheezy:~$ svn co svn://wheezy.wks.berl.axway.int/ms_automatic/mapping_services/projects/scratch%20pad/DML_EMPTY
A DML_EMPTY/Documentation
A DML_EMPTY/Testdata
A DML_EMPTY/Extended Objects
A DML_EMPTY/Business Documents
A DML_EMPTY/Maps
A DML_EMPTY/.project
A DML_EMPTY/project.ms
A DML_EMPTY/Mapping Flows
U DML_EMPTY

Fetching external item into 'DML_EMPTY/Business Documents/D12B_ORDERS.bdoc':
A DML_EMPTY/Business Documents/D12B_ORDERS.bdoc
Checked out external at revision 7.

Fetching external item into 'DML_EMPTY/Extended Objects/occurs.var':
A DML_EMPTY/Extended Objects/occurs.var
Checked out external at revision 6.

Fetching external item into 'DML_EMPTY/Maps/D12B_ORDERS.mdm':
A DML_EMPTY/Maps/D12B_ORDERS.mdm
Checked out external at revision 8.

Fetching external item into 'DML_EMPTY/Extended Objects/customer1/T_D12B.tbl':
A DML_EMPTY/Extended Objects/customer1/T_D12B.tbl
Checked out external at revision 6.

Checked out revision 10.
jruhe_at_wheezy:~$ touch DML_EMPTY/Extended\ Objects/customer1/new_file.txt
jruhe_at_wheezy:~$ svn status --depth=infinity DML_EMPTY/
    X DML_EMPTY/Business Documents/D12B_ORDERS.bdoc
X DML_EMPTY/Extended Objects/customer1
    X DML_EMPTY/Extended Objects/occurs.var
    X DML_EMPTY/Maps/D12B_ORDERS.mdm

As you can see, both the external 'T_D12B.tbl' (that is responsible for 'customer1' folder being created) is ignored by status and the same applies to the newly created file 'new_file.txt'. Consequently, you can verify this by...

jruhe_at_wheezy:~$ svn status DML_EMPTY/Extended\ Objects/customer1/T_D12B.tbl
svn: E155010: The node '/home/jruhe/DML_EMPTY/Extended Objects/customer1' was not found.

Curiously, info gives you an answer:

jruhe_at_wheezy:~$ svn info DML_EMPTY/Extended\ Objects/customer1/T_D12B.tbl
Path: DML_EMPTY/Extended Objects/customer1/T_D12B.tbl
Name: T_D12B.tbl
Working Copy Root Path: /home/jruhe/DML_EMPTY
URL: svn://wheezy.wks.berl.axway.int/ms_automatic/mapping_services/global/companyX/Extended%20Objects/customer1/T_D12B.tbl
Repository Root: svn://wheezy.wks.berl.axway.int/ms_automatic
Repository UUID: e3809b34-6dae-447e-8ac1-30b3b73409f4
Revision: 6
Node Kind: file
Schedule: normal
Last Changed Author: jruhe
Last Changed Rev: 6
Last Changed Date: 2013-06-20 17:15:33 +0200 (Do, 20 Jun 2013)
Text Last Updated: 2013-06-27 15:45:58 +0200 (Do, 27 Jun 2013)
Checksum: dae562244cc4902a58f9e6394aa76fec65bae143

One could imagine now, that we can bring back both ignored files back into the game using svn add:

svn add DML_EMPTY/Extended\ Objects/customer1/
A DML_EMPTY/Extended Objects/customer1
A DML_EMPTY/Extended Objects/customer1/new_file.txt
svn: warning: W150002: '/home/jruhe/DML_EMPTY/Extended Objects/customer1/T_D12B.tbl' is already under version control
svn: E200009: Could not add all targets because some targets are already versioned
svn: E200009: Illegal target for the requested operation

Not very smoothly, but worked out:

jruhe_at_wheezy:~$ svn status DML_EMPTY/
    X DML_EMPTY/Business Documents/D12B_ORDERS.bdoc
A DML_EMPTY/Extended Objects/customer1
    X DML_EMPTY/Extended Objects/customer1/T_D12B.tbl
A DML_EMPTY/Extended Objects/customer1/new_file.txt
    X DML_EMPTY/Extended Objects/occurs.var
    X DML_EMPTY/Maps/D12B_ORDERS.mdm

I have not tested nested 'X'-folders and their behavior.

My only question is, whether it is expected behavior, that all files inside 'X'-folders are ignored by the status command until those folders are svn-added?

Greetings,
Julian
Received on 2013-06-27 16:08:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

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