[p4] copy pending changelist

Stephen Vance steve at vance.com
Tue Mar 8 09:31:21 PST 2005

I believe there is a script in the public depot that does this. I think 
it's called p4backup.pl or something like that under the //guest 
depot.  Search the archives and the depot and see what you come up with.


At 11:14 AM 3/8/2005, Chuck Karish wrote:
>On Tue, 8 Mar 2005 14:44:41 +0200, Yoramo <yoramo at gmail.com> wrote:
> > I need to create a function that will copy a pending change list from
> >  One client to another one and create a change list at the second
> > Client. The new change list needs t o have the same set of files as
> > the origin change list and the files need to be in the same state.
>Such a function has a lot of details to take care of: opening all
>the files, copying over files that are added, doing integrates and
>deletes.  Then you need a tool that's been discussed here over
>the last few days, one that can patch file modifications based on
>the output of 'p4 diff'.
>The complicating factor to watch out for is that before you open
>the files for edit you have to sync them to the same revision to
>which the original files were synced.  This may be the revision
>at which a file was opened for edit or it may be a revision
>to which it was synced and resolved after it was opened.
>Chuck Karish   karish at well.com   (415) 317-0182
>Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
>Learn more: http://www.perforce.com/conf
>perforce-user mailing list  -  perforce-user at perforce.com

Stephen Vance
mailto:steve at vance.com

More information about the perforce-user mailing list