[p4] how to handle renumbered changes?
Michael.Mirman at mathworks.com
Sun Aug 3 14:10:00 PDT 2008
The issue is not how to find the old change number from the new change, but the other way around: I know the old change number, and I need to find the new one.
We build a map between the change numbers during submissions, so any time a trigger can look there. I was just wondering if there is another way.
The map in our case lives on the server side, so scripts from outside cannot access the file. We can mirror the map to the client side, but it all increases the complexity.
That's why I was interested what other people do.
Michael Mirman Tel: (508) 647-7555
The MathWorks, Inc. FAX: (508) 647-7061
3 Apple Hill Drive, Natick, MA 01760-2098 mailto:mmirman at mathworks.com
> -----Original Message-----
> From: Chuck Karish [mailto:chuck.karish at gmail.com]
> Sent: Sunday, August 03, 2008 11:06 AM
> To: Michael Mirman
> Cc: perforce-user at perforce.com
> Subject: Re: [p4] how to handle renumbered changes?
> Undocumented feature in p4, new in 2007.3:
> p4 -ztag describe
> shows the original change number if the change was renumbered at submit
> time. Mentioned in the release notes for the C/C++ API.
> On Wed, Jul 23, 2008 at 8:35 PM, Chuck Karish <chuck.karish at gmail.com>
> > The script we use to request code reviews appends the original
> > changelist number to the changelist description:
> > OCL=909812
> > On 7/23/08, Michael Mirman <Michael.Mirman at mathworks.com> wrote:
> >> I wonder what approaches people use to handle the fact that changes often
> get renumbered during submission.
> >> To be specific, we have URLs to p4db to look at changes, which we always
> use for code review.
> >> If a numbered change is submitted, it usually gets a new number and the
> old existing URLs stop working unless we automagically convert the old
> change number to the new one.
> >> Have other people had this kind of problem?
> >> If yes, how have you dealt with it?
> >> --
> >> Michael Mirman Tel: (508) 647-7555
> >> The MathWorks, Inc. FAX: (508) 647-7013
> >> 3 Apple Hill Drive, Natick, MA 01760-2098
> >> _______________________________________________
> >> perforce-user mailing list - perforce-user at perforce.com
> >> http://maillist.perforce.com/mailman/listinfo/perforce-user
> > --
> > Chuck Karish karish at well.com (415) 317-0182
> Chuck Karish karish at well.com (415) 317-0182
More information about the perforce-user