Mercurial > public > mercurial-scm > hg
diff hgext/convert/cvsps.py @ 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 | 6019e6517f95 |
children | 3b76321aa0de |
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