Skip to content
Snippets Groups Projects
  • Katsunori FUJIWARA's avatar
    9062458febca
    keyword: restore kwtemplater.match at the end of wrapped webcommands · 9062458febca
    Katsunori FUJIWARA authored
    Before this patch, kwweb_skip doesn't restore kwtemplater.match after
    wrapped webcommands. This suppresses keyword expansion at wrapped
    webcommands.
    
    Typical usecase of this issue is "file" webcommand after annotate,
    changeset, filediff or so on.
    
    To ensure kwtemplater.match=util.never while original webcommand
    running, this patch makes kwweb_skip yield values returned by it,
    because it returns generator object.
    9062458febca
    History
    keyword: restore kwtemplater.match at the end of wrapped webcommands
    Katsunori FUJIWARA authored
    Before this patch, kwweb_skip doesn't restore kwtemplater.match after
    wrapped webcommands. This suppresses keyword expansion at wrapped
    webcommands.
    
    Typical usecase of this issue is "file" webcommand after annotate,
    changeset, filediff or so on.
    
    To ensure kwtemplater.match=util.never while original webcommand
    running, this patch makes kwweb_skip yield values returned by it,
    because it returns generator object.