Mercurial > hg-git
diff hggit/gitdirstate.py @ 1115:8ed6c0cae9b8
cleanup: add some blank lines
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 27 Nov 2017 18:46:07 -0500 |
parents | 94aaea5c65f7 |
children | 6141895a53c9 |
line wrap: on
line diff
--- a/hggit/gitdirstate.py Mon Nov 27 18:34:24 2017 -0500 +++ b/hggit/gitdirstate.py Mon Nov 27 18:46:07 2017 -0500 @@ -25,6 +25,7 @@ pathutil = scmutil from mercurial.i18n import _ + def gignorepats(orig, lines, root=None): '''parse lines (iterable) of .gitignore text, returning a tuple of (patterns, parse errors). These patterns should be given to compile() @@ -70,6 +71,7 @@ return patterns, warnings + def gignore(root, files, warn, extrapatterns=None): allpats = [] pats = [] @@ -103,6 +105,7 @@ raise util.Abort('%s: %s' % ('extra patterns', inst[0])) return ignorefunc + class gitdirstate(dirstate.dirstate): @dirstate.rootcache('.hgignore') def _ignore(self):