[Buildbot-devel] p4poller.py changes detection since last sync

William Deegan bill at baddogconsulting.com
Fri Sep 27 21:28:50 UTC 2013


Yasser,
On Sep 19, 2013, at 2:14 PM, Yasser LEBON <yasser.lebon at gmail.com> wrote:

> 
> Hello,
> 
> I noticed that buildbot use the following command to get perforce depot list of changes since last sync:
> 
> 'p4 changes %s...@%d,now' % (self.p4base, self.last_change+1)
> 
> Is there any reason why we use 'now' instead of '#head'? Thanks

I'm not sure why the previous maintainer used ,now, but the result should be the same.

From p4 docs:
* The datespec @now can be used as a synonym for the current date 
and time. 
* file#head The head revision (latest version) of file. Except where explicitly 
noted, this is equivalent to referring to the file without a revision 
specifier.

Are you aware of any functional difference?
-Bill



More information about the devel mailing list