<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>p4 copy Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/p4-copy/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/p4-copy/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:52:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Use of p4 duplicate command &#124; P4 Command Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/</link>
					<comments>https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 16 May 2012 11:27:22 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[Copy]]></category>
		<category><![CDATA[Duplicate]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[p4]]></category>
		<category><![CDATA[p4 clone]]></category>
		<category><![CDATA[p4 commands]]></category>
		<category><![CDATA[p4 commands guide]]></category>
		<category><![CDATA[p4 copy]]></category>
		<category><![CDATA[p4 duplicate command]]></category>
		<category><![CDATA[p4 duplicate tutorial]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Use]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2012/05/16/use-of-p4-duplicate-command/</guid>

					<description><![CDATA[<p>Use of p4 duplicate command Problem Area is &#8211; Is there any possibility to rename branch name? as directory rename [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/">Use of p4 duplicate command | P4 Command Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3825 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/05/p4-duplicate-command.png" alt="p4-duplicate-command" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/05/p4-duplicate-command.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/05/p4-duplicate-command-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><strong>Use of p4 duplicate command</strong></p>
<p><strong>Problem Area is &#8211; </strong><br />
Is there any possibility to rename branch name? as directory rename is possible?</p>
<p><strong>Solution is &#8211; </strong>p4 duplicate command</p>
<p>What the command ‘p4 duplicate’ was implement to do was create a duplicated revision of a folder as if it always existed. This is explained in the ‘p4 help duplicate’, I have copied below:</p>
<pre>Duplicate revisions as if they always existed.  All aspects of
   the source revisions are mirrored into the target revisions,
   including changelist number, date, attributes, and contents.
   The target revision must not already exist, and the target file
must not be opened (for any operation) on any client.</pre>
<p>Integration records are duplicated as well.</p>
<p>To rename branch names is possible with the process of a deep rename operation.</p>
<p><strong><em>p4 duplicate //depot/Jam/MAINds/&#8230; //depot/Jam/MAIN/&#8230;</em></strong></p>
<p>The above command will create an exact copy of the branch you&#8217;re duplicating including its integration history.</p>
<p>Then the duplication source is not wanted anymore, so you will need to use the obliterate command:</p>
<p><em><strong>p4 obliterate -y //depot/Jam/MAINds/&#8230;</strong></em></p>
<p>You can find more information about &#8220;p4 duplicate&#8221; by running the &#8220;p4 help duplicate&#8221; command.</p>
<p>If you have any further questions please let me know.</p>
<p>Reference &#8211;</p>
<p>Perforce Support and</p>
<p><a href="http://maillist.perforce.com/pipermail/perforce-user/2010-November/027364.html" target="_blank" rel="noopener">http://maillist.perforce.com/pipermail/perforce-user/2010-November/027364.html</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/">Use of p4 duplicate command | P4 Command Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/use-of-p4-duplicate-command/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
