| View previous topic :: View next topic |
| Author |
Message |
Hinnerk
Joined: 10 Jan 2007 Posts: 3
|
Posted: Wed Jan 10, 2007 12:57 pm Post subject: TortoiseSVN & export via command line |
|
|
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 |
|
(ode$linger
Joined: 06 Oct 2005 Posts: 212
|
Posted: Wed Jan 10, 2007 2:57 pm Post subject: |
|
|
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 |
|
Hinnerk
Joined: 10 Jan 2007 Posts: 3
|
Posted: Thu Jan 11, 2007 4:32 am Post subject: |
|
|
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 |
|
(ode$linger
Joined: 06 Oct 2005 Posts: 212
|
Posted: Thu Jan 11, 2007 3:27 pm Post subject: |
|
|
| 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 |
|
Hinnerk
Joined: 10 Jan 2007 Posts: 3
|
Posted: Mon Jan 15, 2007 11:55 am Post subject: |
|
|
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 |
|
(ode$linger
Joined: 06 Oct 2005 Posts: 212
|
Posted: Mon Jan 15, 2007 2:24 pm Post subject: |
|
|
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 previous topic :: View next topic |