feature request: add option to checkout command to write the working copy path to outfile

59 views
Skip to first unread message

mmmmmm...@gmail.com

unread,
Jul 2, 2020, 3:01:25 PM7/2/20
to TortoiseSVN-dev
The automation interface allows us to use the nice checkout dialog from a bat script. However if the user selects a different location for the working copy there is currently no way (known to me) the script can determine the actual path to the working copy. Do I overlook something?

The repobrowser command, has a very useful option, /outfile, a similar approach for the checkout command would really be very helpful in my case.

I see no need to return the url and the revision as once the path to the working copy is known the url and revision can be determined with existing methods..

Thank you for considering this option.

Marc van Kalmthout

Stefan

unread,
Jul 3, 2020, 4:41:05 PM7/3/20
to TortoiseSVN-dev
if you want to automate a checkout, why don't you use the command line client? Is there a specific reason for that?

Marc K

unread,
Jul 4, 2020, 1:03:13 PM7/4/20
to TortoiseSVN-dev on behalf of Stefan
The checkout dialog of tortoisesvn is perfect to give the user an overview about what he is going to checkout and give the user the ability to change things like the checkout location. 



Op vr 3 jul. 2020 om 22:41 schreef Stefan via TortoiseSVN-dev <tortoisesvn-dev+APn2wQckvK9F95g3...@googlegroups.com>:
if you want to automate a checkout, why don't you use the command line client? Is there a specific reason for that?

--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn-dev/mjO1ZhD9MEU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/42927692-645f-4739-97e1-66cfeba26e85o%40googlegroups.com.

Stefan

unread,
Jul 10, 2020, 2:03:18 PM7/10/20
to TortoiseSVN-dev
Implemented an /outfile param in r28945

Marc K

unread,
Jul 11, 2020, 5:43:53 AM7/11/20
to TortoiseSVN-dev on behalf of Stefan
Thank you, just tested the nightly-build, it works as expected, except for a small detail.
The reprobrowser command writes an empty file when the cancel button is pressed, so the script can notice this event.
Is it possible to do the same for the checkout command?
Thank you again for adding this feature, I really appreciate it.




Op vr 10 jul. 2020 om 20:03 schreef Stefan via TortoiseSVN-dev <tortoisesvn-dev+APn2wQckvK9F95g3...@googlegroups.com>:
Implemented an /outfile param in r28945

--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn-dev/mjO1ZhD9MEU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn-d...@googlegroups.com.

Marc K

unread,
Jul 11, 2020, 9:11:22 AM7/11/20
to TortoiseSVN-dev on behalf of Stefan
Just found out the command blocks until the checkout is completed.
The command does not block in case it is executed from a command window, where I did my initial tests. 
However when I execute the same line from a batch file the command returns after the dialog is closed (to my surprise).
So there is no need to create an empty file in case the cancel button is pressed.
Thank you once again for adding this feature.
Reply all
Reply to author
Forward
0 new messages