[p4] Revert a changelist
Shawn Hladky
p4shawn at gmail.com
Thu Jul 12 10:23:13 PDT 2007
I use this one from the public depot:
//guest/sam_stafford/scripts/p4rollback.pl
On 7/12/07, Jamie.Echlin at barclayscapital.com <
Jamie.Echlin at barclayscapital.com> wrote:
>
> Hi Steve,
>
> Didn't find anything in the public depot, but thanks.
>
> > I can provide more help on the others. The revert of a branch
> operation would be a delete as the only option short of obliterate.
>
> The problem with this is, next time the integration is done you will get
> "all revisions already integrated". What you want to happen is for the
> integ to happen again, as though the initial changelist had never
> happened. I can't see anyway around this without an oblit.
>
> Cheers, jamie
>
> -----Original Message-----
> From: Stephen Vance [mailto:steve at vance.com]
> Sent: 12 July 2007 15:10
> To: Echlin, Jamie: IT (LDN)
> Cc: perforce-user at perforce.com
> Subject: Re: [p4] Revert a changelist
>
> Jamie --
>
> If someone has an implementation, it's probably in the Public Depot. I
> know that's not a lot of help, but it's what I can give there. I know
> Jeff Bowles has a bunch of useful scripts in his area with the same task
> written in multiple languages.
>
> I can provide more help on the others. The revert of a branch operation
> would be a delete as the only option short of obliterate. The reverse of
> an integrate would be a recovery of the version on the target prior to
> the integration or, if appropriate, a forced integration from the
> version prior to the integration source. The latter only works in very
> restrictive situations involving no additional intervening revisions and
> limited types of clean integrations.
>
> Steve
>
> Jamie.Echlin at barclayscapital.com wrote:
> > Hi,
> >
> > Has anyone got a programmatic implementation of Technote 14 (how to
> > revert a changelist), in any language? Looking for a bit of a
> > headstart for one the custom tools we're doing.
> >
> > Also, if the changelist contains branch/integrates, I don't see how
> > you can revert that without doing an obliterate. Any idea?
> >
> > Cheers, jamie
> > ----------------------------------------------------------------------
> > -- For important statutory and regulatory disclosures and more
> > information about Barclays Capital, please visit our web site at
> http://www.barcap.com.
> >
> > Internet communications are not secure and therefore the Barclays
> Group does not accept legal responsibility for the contents of this
> message. Although the Barclays Group operates anti-virus programmes, it
> does not accept responsibility for any damage whatsoever that is caused
> by viruses being passed. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of the
> Barclays Group. Replies to this email may be monitored by the Barclays
> Group for operational or business reasons.
> >
> > Barclays Capital is the investment banking division of Barclays Bank
> PLC, a company registered in England (number 1026167) with its
> registered office at 1 Churchill Place, London, E14 5HP. This email may
> relate to or be sent from other members of the Barclays Group.
> > ----------------------------------------------------------------------
> > --
> >
> > _______________________________________________
> > perforce-user mailing list - perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
> >
>
> --
> Stephen Vance
> www.vance.com
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
More information about the perforce-user
mailing list