Please provide a shell script which runs to migrate from SVN to GIT

0 votes
Nov 26, 2020 in Other DevOps Questions by Shashi
• 360 points
117 views
If not shell script, please provide a python script which will migrate from SVN to GIT

1 answer to this question.

0 votes

Hi@shashi,

You can run the git-svn command. If you are trying to run with python script then run the command with os.system.

$ git svn clone <address>
answered Nov 26, 2020 by MD
• 95,240 points
Can you please provide the python script with steps, as I am beginner in python scripting

Hi@shashi,

You don't need any advanced knowledge. You need to import some modules in your script.

import os
os.system("git svn clone <address>"

Related Questions In Other DevOps Questions

0 votes
1 answer

How to stop sqlplus command in unix shell script when any sql fails

One idea would be to launch the ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 52,370 points
3,393 views
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,890 points
1,498 views
0 votes
1 answer

Unable to Pull image from quay.io: ERROR x509: certificate signed by unknown authority

Download necessary CA certificate. "/etc/ssl/certs/ca-certificates.crt", -> Debian/Ubuntu "/etc/pki/tls/certs/ca-bundle.crt", ...READ MORE

answered Jul 3, 2018 in Other DevOps Questions by Kalgi
• 52,370 points
1,722 views
0 votes
1 answer

Using conditional to execute a command in salt

You can use unless inside your state ...READ MORE

answered Jul 23, 2018 in Other DevOps Questions by DareDev
• 6,890 points
423 views
+1 vote
1 answer

How to kill a specific instance on Pivotal Cloud Foundry

Use the following command cf restart-app-instance This will issue ...READ MORE

answered Jul 25, 2018 in Other DevOps Questions by Kalgi
• 52,370 points
1,128 views
0 votes
2 answers
0 votes
1 answer

Bash script to revoke Inbound rule after some time

Hi@Lakshminarayanan, You can find command to remove your ingress ...READ MORE

answered Jul 7, 2020 in Other DevOps Questions by MD
• 95,240 points
214 views