equal
deleted
inserted
replaced
318 extra[constants.extrakey] = ctx.topic() |
318 extra[constants.extrakey] = ctx.topic() |
319 |
319 |
320 def newmakeextrafn(orig, copiers): |
320 def newmakeextrafn(orig, copiers): |
321 return orig(copiers + [savetopic]) |
321 return orig(copiers + [savetopic]) |
322 |
322 |
323 rebase = extensions.find("rebase") |
323 try: |
324 extensions.wrapfunction(rebase, '_makeextrafn', newmakeextrafn) |
324 rebase = extensions.find("rebase") |
|
325 extensions.wrapfunction(rebase, '_makeextrafn', newmakeextrafn) |
|
326 except KeyError: |
|
327 pass |
325 |
328 |
326 ## preserve topic during import/export |
329 ## preserve topic during import/export |
327 |
330 |
328 def _exporttopic(seq, ctx): |
331 def _exporttopic(seq, ctx): |
329 topic = ctx.topic() |
332 topic = ctx.topic() |