view mercurial/__init__.py @ 1257:fe7fbfdb066d

Clamp negative rev numbers at zero. Prior to this change, trying to run "hg log -r -50:" in a repo with less than 50 changes caused an error. Now that we clamp at zero: no more error.
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 15 Sep 2005 00:04:29 -0700
parents 9117c6561b0b
children
line wrap: on
line source