diff -r ebec303b4e50 -r 381665763704 Plugins/VcsPlugins/vcsMercurial/hg.py --- a/Plugins/VcsPlugins/vcsMercurial/hg.py Wed Nov 16 20:03:45 2016 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Thu Nov 17 18:59:13 2016 +0100 @@ -493,7 +493,7 @@ return if self.__commitDialog is not None: - msg, amend, commitSubrepositories = \ + msg, amend, commitSubrepositories, author, dateTime = \ self.__commitDialog.getCommitData() self.__commitDialog.deleteLater() self.__commitDialog = None @@ -502,6 +502,8 @@ else: amend = False commitSubrepositories = False + author = "" + dateTime = "" if not msg and not amend: msg = '***' @@ -517,6 +519,12 @@ args.append("--amend") if commitSubrepositories: args.append("--subrepos") + if author: + args.append("--user") + args.append(author) + if dateTime: + args.append("--date") + args.append(dateTime) if msg: args.append("--message") args.append(msg)