491 repodir = os.path.dirname(repodir) |
491 repodir = os.path.dirname(repodir) |
492 if os.path.splitdrive(repodir)[1] == os.sep: |
492 if os.path.splitdrive(repodir)[1] == os.sep: |
493 return |
493 return |
494 |
494 |
495 if self.__commitDialog is not None: |
495 if self.__commitDialog is not None: |
496 msg = self.__commitDialog.logMessage() |
496 msg, amend, commitSubrepositories = \ |
497 amend = self.__commitDialog.amend() |
497 self.__commitDialog.getCommitData() |
498 commitSubrepositories = self.__commitDialog.commitSubrepositories() |
|
499 self.__commitDialog.deleteLater() |
498 self.__commitDialog.deleteLater() |
500 self.__commitDialog = None |
499 self.__commitDialog = None |
501 if amend and not msg: |
500 if amend and not msg: |
502 msg = self.__getMostRecentCommitMessage(repodir) |
501 msg = self.__getMostRecentCommitMessage(repodir) |
503 else: |
502 else: |