Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/httprangereader.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 | 4b0f562c61f4 |
children | 59b3639df0a9 |