Commits

Martin Geisler committed 9923f6b

repomodel: fix undefined variable in getconv

  • Participants
  • Parent commits ad85ec0
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repomodel.py

 
     def getconv(self, ctx, gnode):
         if ctx.rev() is not None:
-            cvt = ctx.extra().get('convert_revision', '')
+            extra = ctx.extra()
+            cvt = extra.get('convert_revision', '')
             if cvt:
                 if cvt.startswith('svn:'):
                     return cvt.split('@')[-1]