Mercurial > hg > hg-git
changeset 690:aa8519daf037
overlayrevlog: handle rev = 0 correctly
Previously we'd just test if gitrev was falsy, which it is if the rev returned
is 0, even though it shouldn't be. With this patch, test against None
explicitly.
This unmasks another bug: see next patch for a fix and a test.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 25 Feb 2014 00:20:22 -0800 (2014-02-25) |
parents | 1323058cc652 |
children | c99941ff2d28 |
files | hggit/overlay.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff