Mercurial > hg-stable
changeset 8890:c487719cccef
convert: fix builtin cvsps when no branchpoints are present
author | Rocco Rutte <pdmef@gmx.net> |
---|---|
date | Sun, 14 Jun 2009 20:24:18 +0200 |
parents | 9be824115ee8 |
children | 5fe8dc75aa4a |
files | hgext/convert/cvsps.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/cvsps.py Mon Jun 22 00:02:31 2009 +0200 +++ b/hgext/convert/cvsps.py Sun Jun 14 20:24:18 2009 +0200 @@ -511,7 +511,9 @@ e.comment == c.comment and e.author == c.author and e.branch == c.branch and - e.branchpoints == c.branchpoints and + (not hasattr(e, 'branchpoints') or + not hasattr (c, 'branchpoints') or + e.branchpoints == c.branchpoints) and ((c.date[0] + c.date[1]) <= (e.date[0] + e.date[1]) <= (c.date[0] + c.date[1]) + fuzz) and