Non versioned ports
Vincent
vince at macports.org
Sat Aug 23 23:08:23 PDT 2014
> 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?
Thanks so much!
Vincent
More information about the macports-dev
mailing list