Commits

Yuya Nishihara  committed 6916971

update: handle null id as case-sensitive string

"Null" or "NULL" is not acceptable.

  • Participants
  • Parent commits fa34be7
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/update.py

         if merge:
             self.p2_info.update(self.ctxs[1])
         new_rev = hglib.fromunicode(self.rev_combo.currentText())
-        if new_rev.lower() == 'null':
+        if new_rev == 'null':
             self.target_info.setText(_('remove working directory'))
             self.update_btn.setEnabled(True)
             return