Yuya Nishihara committed bdf10a3

reporegistry: fix AttributeError on sortbyname/path including sub group

  • Participants
  • Parent commits 12e2f0f
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

             return True
         return False
+    def rootpath(self):  # for sortbypath()
+        return ''  # may be okay to return _commonpath instead?
+    def shortname(self):  # for sortbyname()
+        return unicode(
     def menulist(self):
         return ['openAll', 'add', None, 'newGroup', None, 'rename', 'remove',
             None, (_('&Sort'), ['sortbyname', 'sortbypath']), None,