Mercurial > hg
comparison mercurial/policy.py @ 38519:4455e5d4d59c
context: explicitly take diffopts in `context.diff` (API)
To provide a proper replacement for the `patch.diff(…)` function, the
`context.diff(…)` method needs to be able to take more parameters. To
distinguish the diff options from the new other arguments, we upgrade the diff
options to its own explicit argument.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 22 May 2018 15:02:52 +0200 |
parents | 0304f22497fa |
children | 6104b203bec8 adacefb0b7ea |
comparison
equal
deleted
inserted
replaced
38518:cf24f678adda | 38519:4455e5d4d59c |
---|