Lawrence Velázquez writes:

> On Aug 23, 2014, at 7:25 AM, Vincent <[email protected]> wrote:
>
>> However, I’ll have a look a ‘mercurial’ (unless someone out there is a guru 
>> of this yet-another-DRC and can advise me directly) to figure out if there 
>> is a way to specify a date as a revision. In which case, yes, that would 
>> make sense.
>
> http://www.selenic.com/mercurial/hg.1.html#date-formats

From the command line, you can use revsets:

$ hg log -G -r 'date("2014-08-22")'

On the MacPorts repo, that will result in a lot of changesets. For a
portfile, you really must specify a commit hash. In the
py-sphinx-contrib port, I use '0.0.YYYYMMDD' for the version. If the
project ever decides to tag a version, then that will be higher than the
one I made up. Also, it's clear from reading the version that it's a
made up one.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to