Re: how do deal with versionless mercurial software ?
On Wednesday 02 October 2013 16:51:09 Dominik George wrote:
> >well, you proposed a version like 'hgXXXX'. if upstream switches to
> >git, you
> >can't use a version like 'gitYYYY' because it sorts before hg. I grant
> >that is easy to work around.
> If you deem it unlikely that two commits are made in the same day (which
> happens all the time), how likely is it that upstream switches VCSs and
> does an important commit on the same day?
that's not the issue. Try that:
dpkg --compare-versions 1.hg2012 '<=' 1.git2013 || echo 'false'
https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org