Mercurial > hg
diff mercurial/strutil.py @ 17945:45766e2a7384
patch: make _addmodehdr a function under trydiff
addmodehdr is a header helper, same as diffline, so it doesn't
need to be a top-level function and can be nested under trydiff.
In upcoming patches we will generalize this approach for
all headers.
author | Guillermo Pérez <bisho@fb.com> |
---|---|
date | Thu, 15 Nov 2012 15:06:32 -0800 |
parents | 25e572394f5c |
children | b723f05ec49b |