Mercurial > hg
diff mercurial/statichttprepo.py @ 24000:82e3324c4df9
trydiff: inline sole addmodehdr() call
Now that there is only a single call to addmodehdr() left, and there
is other similar code (for new/deleted files) around that call site,
let's inline the function there. That also makes it clearer under what
circumstances the header is actually written (when modes differ).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 16 Jan 2015 14:53:37 -0800 |
parents | 37a92908a382 |
children | 59cc09240afb |