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
> >you
> >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


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5009015.R4oBotHMLD@ylum

Reply via email to