Share

NAntContrib

Tracker: Bugs

5 <svn-checkout> problem setting destination directory - ID: 1078255
Last Update: Comment added ( randalx )

I'm trying to checkout files to a specific destination
directory but the base folder is being added.
I believe this is due to the destination being used as
a working directory rather than passed as an argument
to the svn command.

Goal:
copy files from:
svn://server2/MyApp/trunk/*.*

to destination:
D:\Build\src\MyApp\*.*

instead I get
D:\Build\src\MyApp\trunk\*.*


Here is my task:
<svn-checkout destination="MyApp"
uri="svn://server2/MyApp/trunk" verbose="true"
password="" />

Here is the output:
[svn-checkout] Command name: checkout
[svn-checkout] Working directory: D:\Build\src\MyApp
[svn-checkout] Executable: C:\Program
Files\Subversion\bin\svn.exe
[svn-checkout] Arguments: checkout
svn://server2/MyApp/trunk --non-recursive --quiet
--non-interactive --password=
[svn-checkout] Starting 'C:\Program
Files\Subversion\bin\svn.exe ( checkout
svn://server2/MyApp/trunk --quiet --non-interactive
--password=)' in 'D:\Build\src\MyApp'

Possible Fixes:
- To keep using the working directory then the svn
command should be:
svn checkout svn://server2/MyApp/trunk .
- Or get rid of the working directory change and change
the command to:
svn checkout svn://server2/MyApp/trunk MyApp


randalx ( randalx ) - 2004-12-03 11:38

5

Closed

Fixed

Nobody/Anonymous

Tasks

None

Public


Comments ( 2 )

Date: 2004-12-20 15:42
Sender: randalx

Logged In: YES
user_id=1160169

Fix by drakmar has solved the problem.



Date: 2004-12-07 07:19
Sender: drakmarAccepting Donations

Logged In: YES
user_id=677222

Hi Randalx, I used your first suggestion in the fix
(appending . to the request) and have checked in the
changes. If that solves the issue please close this bug.
Thanks!


Clayton


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2004-12-20 15:42 randalx
resolution_id None 2004-12-20 15:42 randalx
close_date - 2004-12-20 15:42 randalx