Packagers: nightly builds?

Martin Geisler mg at
Sun Jan 25 15:15:04 CST 2009

Giorgos Keramidas <keramida at> writes:

> Right now I have an experimental port on my laptop that uses the build
> date as the port revision, i.e.
>     PORTREVISION!= date -u '+%y%m%d%H%M%S'
> This seems a bit 'hackish', but it might work. Does it look
> reasonable?
> Is there something smarter that we can use in either the Mercurial
> build scripts or the build glue for FreeBSD that would help us
> correlate these with node hashes?

What if you included the local revision number and the changeset hash?
So a version number would look like


Including both the local and global identifier will ensure that the
version is increasing and uniquely identifies the commit.

There is also the "nearest extension":

Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : 

More information about the Mercurial-devel mailing list