<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SVN Checkout project -&gt; overwrite</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/</id><updated>2020-02-27T14:50:45.185000Z</updated><subtitle>Recent posts to SVN Checkout project -&gt; overwrite</subtitle><entry><title>SVN Checkout project -&gt; overwrite</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/?limit=25#60a6" rel="alternate"/><published>2020-02-27T14:50:45.185000Z</published><updated>2020-02-27T14:50:45.185000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com6413b152aaa5e0683117be063d1a91d3fc0ef525</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; el_diep&lt;/p&gt;
&lt;p&gt;Another nearly similar problem:&lt;/p&gt;
&lt;p&gt;When there are any problems loading a project, there are Popups, too. Are there any possibilities to prevent this.&lt;/p&gt;
&lt;p&gt;Popups in an automation-environment of an IDE are self-defeating &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SVN Checkout project -&gt; overwrite</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/?limit=25#14b6" rel="alternate"/><published>2020-02-27T14:50:44.533000Z</published><updated>2020-02-27T14:50:44.533000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comeeef23e1f4f5939084fc795341ce122a40a69445</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; el_diep&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;ChrisI hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hey el_diep,&lt;br/&gt;
I have the same problem. I don't know how to overwrite.. But I have an alternative: before checkout the new project --&amp;gt; delete the old project. I am using this code:&lt;br/&gt;
myfile = (ProjectPath+"/"+your.project)&lt;br/&gt;
if os.path.isfile(myfile):&lt;br/&gt;
    os.remove(myfile)&lt;br/&gt;
else:&lt;br/&gt;
    print("Your.project is not available")&lt;br/&gt;
And now checkout...&lt;br/&gt;
I hope thats a good help until a moderator help us.&lt;br/&gt;
BR&lt;br/&gt;
Chris&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thanks Chris, that worked fine.&lt;br/&gt;
I hoped, that I didn't have to use such a solution. But temporary it's OK.&lt;/p&gt;
&lt;p&gt;Perhaps a moderator might help us with another solution? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SVN Checkout project -&gt; overwrite</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/?limit=25#d297" rel="alternate"/><published>2020-02-27T14:50:42.420000Z</published><updated>2020-02-27T14:50:42.420000Z</updated><author><name>ChrisI</name><uri>https://forge.codesys.com/u/chrisi/</uri></author><id>https://forge.codesys.com1709942276518306a0179169b862a077b219382e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey el_diep,&lt;/p&gt;
&lt;p&gt;I have the same problem. I don't know how to overwrite.. But I have an alternative: before checkout the new project --&amp;gt; delete the old project. I am using this code:&lt;/p&gt;
&lt;p&gt;myfile = (ProjectPath+"/"+your.project)&lt;br/&gt;
if os.path.isfile(myfile):&lt;br/&gt;
    os.remove(myfile)&lt;br/&gt;
else:&lt;br/&gt;
    print("Your.project is not available")&lt;/p&gt;
&lt;p&gt;And now checkout...&lt;/p&gt;
&lt;p&gt;I hope thats a good help until a moderator help us.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Chris&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SVN Checkout project -&gt; overwrite</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/09014dda9d/?limit=25#445a" rel="alternate"/><published>2020-02-27T14:50:41.585000Z</published><updated>2020-02-27T14:50:41.585000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com09e5e26935954d2c18b3fffa44b51fb4c786f783</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; el_diep&lt;/p&gt;
&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;I'm trying to checkout a project from my SVN-repository, using the script engine/python. When I check out a Project a second time, codesys asks me, if I want to overwrite the older Version. I want to prevent this and want to tell codesys to overwrite the project via python.&lt;/p&gt;
&lt;p&gt;Does anybody know, how that works?&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
Elias&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>