Commits

Erik Zielke committed 0806ac5

Initial

Comments (0)

Files changed (1)

editcommitmsgs.py

+# editcommitmsgs.py - enables editing commit messages for all patches in on go
+#
+# Copyright 2010, 2010 Erik Zielke <ez@aragost.com>
+#
+# This software may be used and distributed according to the terms of the
+# GNU General Public License version 2 or any later version.
+'''
+This extension do only have an effect if Mercurial Queues (mq) is enables.
+Then it will allow you to edit commit messages of all patches in a single file.
+'''
+from mercurial import extensions
+from mercurial.i18n import _
+
+def editcommitmsgs(ui, repo):
+    ui.write('Not implemented yet')
+
+def uisetup(ui):
+    try:
+        mq = extensions.find('mq')
+    except KeyError:
+        return
+
+    ccmdtable = {
+    "qeditcommitmsgs": (editcommitmsgs, [])}
+    cmdtable.update(ccmdtable)
+
+cmdtable = {}