<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Will the following code delete all versions in the database? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1543837#M27418</link>
    <description>&lt;P&gt;ok thanks! but if i reconcile and post it would it affect the other versions also? thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 15:40:26 GMT</pubDate>
    <dc:creator>GeorgeJonesRIGOV</dc:creator>
    <dc:date>2024-09-30T15:40:26Z</dc:date>
    <item>
      <title>Will the following code delete all versions in the database?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1524625#M27392</link>
      <description>&lt;P&gt;hi all, I'm considering running this line of code I have here. I am trying to reconcile and post my edits in a feature class into a main database. My goal is to not delete all the versions I have in store for it. Below is the following code for it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;arcpy.ReconcileVersions_management (arcpy.env.workspace, "ALL_VERSIONS", defaultVersion, versionList, "LOCK_ACQUIRED", "NO_ABORT", "BY_OBJECT", "FAVOR_EDIT_VERSION", "POST", "KEEP_VERSION", reconcileLog)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for any feedback.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 18:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1524625#M27392</guid>
      <dc:creator>GeorgeJonesRIGOV</dc:creator>
      <dc:date>2024-08-20T18:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Will the following code delete all versions in the database?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1528084#M27396</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;If you look at the documentation for the &lt;EM&gt;Reconcile Versions&lt;/EM&gt; tool:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/reconcile-versions.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/reconcile-versions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and in particular the &lt;EM&gt;with_delete&lt;/EM&gt; argument then if this is set to "KEEP_VERSION" then that will NOT DELETE the current edit version that was reconciled (according to the help documnention).&lt;/P&gt;&lt;P&gt;Before you run it in anger can you create a dummy version and make some edits to see what happens when you run the tool? Just to make sure the version is not deleted before you do it for real....&lt;/P&gt;&lt;P&gt;Make sure you satisfy the requirements to use the tool by reading the comments in the &lt;EM&gt;Usage&lt;/EM&gt; section of the documentation too.&lt;/P&gt;&lt;P&gt;many thanks ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 18:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1528084#M27396</guid>
      <dc:creator>EdMorris</dc:creator>
      <dc:date>2024-08-27T18:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Will the following code delete all versions in the database?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1543837#M27418</link>
      <description>&lt;P&gt;ok thanks! but if i reconcile and post it would it affect the other versions also? thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 15:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/will-the-following-code-delete-all-versions-in-the/m-p/1543837#M27418</guid>
      <dc:creator>GeorgeJonesRIGOV</dc:creator>
      <dc:date>2024-09-30T15:40:26Z</dc:date>
    </item>
  </channel>
</rss>

