Bugs item #1078255, was opened at 2004-12-03 11:38
Message generated for change (Comment added) made by randalx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1078255&group_id=54790

Category: Tasks
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: randalx (randalx)
Assigned to: Nobody/Anonymous (nobody)
Summary: <svn-checkout> problem setting destination directory

Initial Comment:
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
        

----------------------------------------------------------------------

>Comment By: randalx (randalx)
Date: 2004-12-20 15:42

Message:
Logged In: YES 
user_id=1160169

Fix by drakmar has solved the problem.


----------------------------------------------------------------------

Comment By: Clayton Harbour (drakmar)
Date: 2004-12-07 07:19

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1078255&group_id=54790


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to