view mercurial/__init__.py @ 23430:3821be85fd4d

patch: add a new function to initialize diffopts by feature Not all callers are interested in all diffopts -- for example, commands like record (which use diff internally) break when diffopts like noprefix are enabled. This function will allow us to add flags that callers can use to enable only the features they're interested in.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 18 Nov 2014 16:53:22 -0800
parents 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source