comparison mercurial/context.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 cd9e5e57064d
children 4dd8a6a1240d
comparison
equal deleted inserted replaced
23429:f35526b999f4 23430:3821be85fd4d