hgext3rd/topic/__init__.py
changeset 1946 72246b13bd72
parent 1945 f4f5bf8b4d17
child 1947 3458aa1027e6
equal deleted inserted replaced
1945:f4f5bf8b4d17 1946:72246b13bd72
   333         return orig(copiers + [savetopic])
   333         return orig(copiers + [savetopic])
   334 
   334 
   335     rebase = extensions.find("rebase")
   335     rebase = extensions.find("rebase")
   336     extensions.wrapfunction(rebase, '_makeextrafn', newmakeextrafn)
   336     extensions.wrapfunction(rebase, '_makeextrafn', newmakeextrafn)
   337 
   337 
       
   338 ## preserve topic during import/export
       
   339 
   338 def _exporttopic(seq, ctx):
   340 def _exporttopic(seq, ctx):
   339     topic = ctx.topic()
   341     topic = ctx.topic()
   340     if topic:
   342     if topic:
   341         return 'EXP-Topic %s' % topic
   343         return 'EXP-Topic %s' % topic
   342     return None
   344     return None