SVNForum.org Forum Index FAQFAQ SearchSearch MemberlistMemberlist RegisterRegister Log inLog in

Download Subversion 1.6.12: Free Subversion TrainingWindows - Free Subversion TrainingCentOS 5 - Free Subversion TrainingRedhat Enterprise Linux 5 - Free Subversion TrainingUbuntu 9/10.04 - Free Subversion TrainingDebian Lenny (5)

Free Subversion Training: Free Subversion TrainingAll About Checkouts Free Subversion TrainingUsing the Subversion Diff Command Free Subversion TrainingSubversion Administration Best Practices Free Subversion TrainingAll About Subversion Hook Scripts
 
TortoiseSVN & export via command line

 
Post new topic   Reply to topic    SVNForum.org Forum Index -> Windows
View previous topic :: View next topic  
Author Message
Hinnerk



Joined: 10 Jan 2007
Posts: 3

PostPosted: Wed Jan 10, 2007 12:57 pm    Post subject: TortoiseSVN & export via command line Reply with quote

Hello!

I use TortoiseSVN at work and would like to automate some automate some common tasks. So i want to create a batch file which will call for an update, export etc.

I worked out update, but export is still troublesome: I should be able to specify my working copy from which i want to export and my target folder. However, the documentation seems to says, that you can only set either one?

Thank you,

Hinnerk

PS: There was a similar post: http://www.svnforum.org/2017/viewtopic.php?t=664&highlight=export
However the answer was: Why don't you use some other software? - Which is not a very sastifying one...
Back to top
View user's profile Send private message
(ode$linger



Joined: 06 Oct 2005
Posts: 212

PostPosted: Wed Jan 10, 2007 2:57 pm    Post subject: Reply with quote

you should be able to, so I'm not sure what the problem is. This command should do what you're asking for:

svn export /path/to/working_copy /export/path

besides, is it really so unsatisfying to use xcopy to copy from one directory to another? Does it not do the job?
Back to top
View user's profile Send private message
Hinnerk



Joined: 10 Jan 2007
Posts: 3

PostPosted: Thu Jan 11, 2007 4:32 am    Post subject: Reply with quote

xcopy offers no support to treat versioned and unversioned files differently.
svn command line is not installed and i would hate to have to install it for one command only, when i already have a subversion client installed.

So, yes, it is unsatisfying and yes, sometimes xcopy gets the job done.
Back to top
View user's profile Send private message
(ode$linger



Joined: 06 Oct 2005
Posts: 212

PostPosted: Thu Jan 11, 2007 3:27 pm    Post subject: Reply with quote

I see. In the other post, there was no requirement to treat versioned files differently. Since you need to do this, I believe you'd need to have the command line version. One of you svn buffs tell me if I'm wrong on this.
Back to top
View user's profile Send private message
Hinnerk



Joined: 10 Jan 2007
Posts: 3

PostPosted: Mon Jan 15, 2007 11:55 am    Post subject: Reply with quote

I think it would make a reasonable feature request, that you could specify target and source. If both are part of the command line, no dialog for chosing either should pop up, rather only the usual export window, showing progress and errors.

Where would i place such a feature request with a positive probability of it being implemented?

Hinnerk
Back to top
View user's profile Send private message
(ode$linger



Joined: 06 Oct 2005
Posts: 212

PostPosted: Mon Jan 15, 2007 2:24 pm    Post subject: Reply with quote

I believe the main reason that TortoiseSVN employs a command line at all is that it needs to, being a shell extension and all. Once a menu item is selected. It calls the command line to show its dialogs. This is why you don't see this parameter available. If the dialog needed to pre-populate that for normal use of tsvn, you'd see it on the command line.

To request a feature to tsvn, try this: http://tortoisesvn.net/report_a_bug.

Keep in mind: Tortoise is designed to be a front-end to subversion, not necessarily a more guified command line client. If they decide to go ahead and add your parameter for you, great. If not, just install the command line client. It's not too tough.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Post new topic   Reply to topic    SVNForum.org Forum Index -> Windows All times are GMT - 4 Hours
Page 1 of 1
Display posts from previous:   
Google
 
Web SVNForum.org