equal
deleted
inserted
replaced
634 kwt.restrict = True |
634 kwt.restrict = True |
635 return ret |
635 return ret |
636 finally: |
636 finally: |
637 wlock.release() |
637 wlock.release() |
638 |
638 |
639 repo.__class__ = kwrepo |
|
640 |
|
641 def kwfilectx_cmp(orig, self, fctx): |
639 def kwfilectx_cmp(orig, self, fctx): |
642 # keyword affects data size, comparing wdir and filelog size does |
640 # keyword affects data size, comparing wdir and filelog size does |
643 # not make sense |
641 # not make sense |
644 if (fctx._filerev is None and |
642 if (fctx._filerev is None and |
645 (self._repo._encodefilterpats or |
643 (self._repo._encodefilterpats or |
658 try: |
656 try: |
659 record = extensions.find(name) |
657 record = extensions.find(name) |
660 extensions.wrapfunction(record, 'dorecord', kw_dorecord) |
658 extensions.wrapfunction(record, 'dorecord', kw_dorecord) |
661 except KeyError: |
659 except KeyError: |
662 pass |
660 pass |
|
661 |
|
662 repo.__class__ = kwrepo |
663 |
663 |
664 cmdtable = { |
664 cmdtable = { |
665 'kwdemo': |
665 'kwdemo': |
666 (demo, |
666 (demo, |
667 [('d', 'default', None, _('show default keyword template maps')), |
667 [('d', 'default', None, _('show default keyword template maps')), |