[p4] how to get all changeIds after specific changeId ?

Riddhi Shah shahriddhi4u at yahoo.co.in
Thu Dec 13 21:11:52 PST 2007


Thank you so much all.

I found a workaround also which was 1. get the max commit id and 2. take all commits between changeId you have and a max change id.

But this sound quite straight forward. And yes Tony.. that was the same thing I found that it was treating > as a redirection. 

Thank you so much once again.. 


Regards,
Riddhi Shah

----- Original Message ----
From: Brian Moyers <bsmoyers at gmail.com>
To: Tony Sweeney <sweeney at addr.com>
Cc: Riddhi Shah <shahriddhi4u at yahoo.co.in>; perforce-user at perforce.com
Sent: Thursday, 13 December, 2007 7:56:52 PM
Subject: Re: [p4] how to get all changeIds after specific changeId ?

Without using the undoced relative revision options, you can do this:

p4 changes -s submitted @10,now

however, that will include change 10 in the list, so it is the
equivalent of "@>=10".

-Brian

On Dec 13, 2007 7:25 AM, Tony Sweeney <sweeney at addr.com> wrote:
> Riddhi Shah wrote:
> > I tried "p4 changes -s submitted @>10" but its giving
 "Unintelligible revision specification ''.
> >
> > p4 changes -s submitted @10 is working fine. But what it does it ,
 it shows all commit id before this 10.
> >
> > Regards,
> > Riddhi Shah
> >
> > ----- Original Message ----
> > From: Stephen Vance <steve at vance.com>
> > To: Riddhi Shah <shahriddhi4u at yahoo.co.in>
> > Cc: perforce-user at perforce.com
> > Sent: Thursday, 13 December, 2007 5:31:39 PM
> > Subject: Re: [p4] how to get all changeIds after specific changeId
 ?
> >
> > p4 changes -s submitted @>changeid
> >
> > Riddhi Shah wrote:
> >
> >> Hi,
> >>
> >> First of all, Thanks you so much for solving my trigger problem.
> >>
> >> One more question I have is "how can we get all changeids (which
 has
> >>
> >  been committed after this changeId) after particular changeid?
> >
> >>
> >> Regards,
> >> Riddhi Shah
> >>
> >>
> >>
> >>
> >>       Now you can chat without downloading messenger. Go to
> >>
> >  http://in.messenger.yahoo.com/webmessengerpromo.php
> >
> >> _______________________________________________
> >> perforce-user mailing list  -  perforce-user at perforce.com
> >> http://maillist.perforce.com/mailman/listinfo/perforce-user
> >>
> >>
> >>
> >
> >
> Riddhi,
>
> the shell parses the '>' redirection before Perforce gets to see it,
 so
> it's likely getting the unadorned '@' as the revision.  Try putting
 the
> @>changeid in quotes (single or double, shouldn't matter in this
 context).
>
> Tony.
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>






      Bring your gang together - do your thing. Go to http://in.promos.yahoo.com/groups


More information about the perforce-user mailing list