Re: Python script to automate commit

2022-12-07 Thread TortoiseSVN on behalf of Pavel Lyalyakin
Great! I'm glad that the suggestion helped. On Wed, Dec 7, 2022 at 7:31 PM Aman Qureshi via TortoiseSVN < tortoisesvn@googlegroups.com> wrote: > Thank you so much I was just missing the add command, other than that it's > working for me. > Thanks once again for your help, really appreciate it! >

Re: Python script to automate commit

2022-12-07 Thread Aman Qureshi via TortoiseSVN
Hi, I tried both adding new files and making changes in the same already committed file (working copy local modification). The commit command with subprocess isn't showing any error, it just does not execute anything, call you to guide me through the command to add files with the same

Re: Python script to automate commit

2022-12-07 Thread Aman Qureshi via TortoiseSVN
Thank you so much I was just missing the add command, other than that it's working for me. Thanks once again for your help, really appreciate it! On Wednesday, 7 December 2022 at 15:37:28 UTC+1 Pavel Lyalyakin wrote: > You should see some output when running the commands. Sample code: > [[[ >

Re: Python script to automate commit

2022-12-07 Thread TortoiseSVN on behalf of Pavel Lyalyakin
You should see some output when running the commands. Sample code: [[[ import subprocess subprocess.call(["svnadmin", "create", "mytestrepo"]) subprocess.call(["svn", "checkout", "file:///users/bahrep/mytestrepo", "myworkingcopy"]) with open("/users/bahrep/myworkingcopy/mytextfile.txt", "w") as