comparison hgext/mq.py @ 2888:3848488244fc

Move ui.diffopts to patch.diffopts where it belongs
author Matt Mackall <mpm@selenic.com>
date Tue, 15 Aug 2006 11:34:08 -0500
parents c2932ad5476a
children ef8ee4477019 addb58e3b41c
comparison
equal deleted inserted replaced
2887:05257fd28591 2888:3848488244fc
75 lines = self.opener(self.status_path).read().splitlines() 75 lines = self.opener(self.status_path).read().splitlines()
76 self.applied = [statusentry(l) for l in lines] 76 self.applied = [statusentry(l) for l in lines]
77 77
78 def diffopts(self): 78 def diffopts(self):
79 if self._diffopts is None: 79 if self._diffopts is None:
80 self._diffopts = self.ui.diffopts() 80 self._diffopts = patch.diffopts(self.ui)
81 return self._diffopts 81 return self._diffopts
82 82
83 def join(self, *p): 83 def join(self, *p):
84 return os.path.join(self.path, *p) 84 return os.path.join(self.path, *p)
85 85