Mercurial > public > mercurial-scm > hg
diff mercurial/mdiff.py @ 8312:b87a50b7125c
separate import lines from mercurial and general python modules
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 28 Apr 2009 17:40:46 +0200 |
parents | 46293a0c7e9f |
children | 9e055cfdd620 |
line wrap: on
line diff
--- a/mercurial/mdiff.py Thu May 07 15:08:25 2009 +0300 +++ b/mercurial/mdiff.py Tue Apr 28 17:40:46 2009 +0200 @@ -6,7 +6,8 @@ # GNU General Public License version 2, incorporated herein by reference. from i18n import _ -import bdiff, mpatch, re, struct, util +import bdiff, mpatch, util +import re, struct def splitnewlines(text): '''like str.splitlines, but only split on newlines.'''