Vincent writes:

>> 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.
>
> I suppose that’s what I did, but since you seem to master Mercurial much 
> better than me (frankly, I am a rookie), I’d rather call on your expertise:
>
> I looked at the website of the repository, « commits » page. There are three 
> columns: author, commit # and a comment. I surmised that the commit # would 
> be the right information to be put after the -u option of the ‘clone’ 
> command, so I wrote this for the fetch phase (assuming 52fb22e is the commit 
> #):
>
> fetch {
>    system -W ${workpath} \
>    "${prefix}/bin/hg clone -u 52fb22e 
> https://bitbucket.org/petebunting/rsgislib rsgislib »
> }
>
> Is that correct?

Why not use the bitbucket port group?

PortGroup           bitbucket 1.0
bitbucket.setup     petebunting rsgislib 52fb22e
version             0.0.20140822
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to