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

[Bug] export nested externals

From: Toralf Upenn <toralf.upenn_at_gmail.com>
Date: 2006-09-24 20:17:30 CEST

I tested:
TortoiseSVN 1.4.0, Build 7501 - 32 Bit
And
TortoiseSVN 1.4.0, Build 7584 - 32 Bit -dev, 2006/09/23 21:44:29

I have a project called "SmartGUI" and it uses some external
projects in a nested subfolder "func":

svn:externals
func/Anchor -r5 file:///C:/Daten/DC-PC/SVN-Repo/Anchor/trunc
func/ChooseColor -r3 file:///C:/Daten/DC-PC/SVN-Repo/ChooseColor/trunc
func/IniFileEditor -r3 file:///C:/Daten/DC-PC/SVN-Repo/IniFileEditor/trunc

When I use TortoiseSVN to export the project it doesn't do what I expected:

1) when both options of the export dialog are not checked
[] export unversioned files too
[] omit externals

I get an error pop up window:
"Anchor konnte nicht erstellt oder ersetzt werden: Der angegebene Pfad wurde
nicht gefunden.
Stellen Sie sicher, dass die Pfadangabe richtig ist."

Translation:
"Error during copy of file or folder
Anchor couldn't be created or replaced: The specified path couldn't be
found.
Ensure that the path is correct."

After that I get a message:

"C:\Daten\DC-PC\User\AutoHotKey\SVN\SmartGui
nach C:\Daten\test\SmartGui
exportiert"

The content of the export path is missing the folder "func" and several
other versioned folders.

When I create the path for func manually, it works well. The path I created:
"C:\Daten\test\SmartGui\func"
It seems that TortoiseSVN doesn't create more then one level deep for
external projects.
 

2) when only "omit externals" option is checked
[] export unversioned files too
[X] omit externals

The same as above happens:
- error message
- normal message
- export path doesn't have "func" folder and doesn't have other versioned
folders.

But it should no even try to create the folder "func" for Anchor (which the
error message indicates TortoiseSVN tried)

3) when both options are checked
[X] export unversioned files too
[X] omit externals

All files, are exported, including (!) the externals in their nested
subfolder.
If this is correct, then the "omit externals" checkbox in the UI should be
set unchecked and disabled automatically. If not, it is a bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Sep 24 20:21:26 2006

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