[PATCH 1 of 1] imported patch Add missing --mq option to hg log

Michael Glassford glassfordmjg at gmail.com
Wed Mar 31 12:17:27 CDT 2010


# HG changeset patch
# User Michael Glassford <glassfordmjg at gmail.com>
# Date 1270047540 14400
# Node ID 7af2bc5d2473f01a8600a9722746bf737b589e4a
# Parent  d70ada7e987d03bd5f47a5ddd9e16aaf3343813f
imported patch Add missing --mq option to hg log

diff -r d70ada7e987d -r 7af2bc5d2473 hgext/mq.py
--- a/hgext/mq.py	Wed Mar 24 19:44:53 2010 +0100
+++ b/hgext/mq.py	Wed Mar 31 10:59:00 2010 -0400
@@ -2640,10 +2640,11 @@
 
     entry = extensions.wrapcommand(commands.table, 'init', mqinit)
     entry[1].extend(mqopt)
-
+    
+    norepo = commands.norepo.split(" ")
     for cmd in commands.table.keys():
         cmd = cmdutil.parsealiases(cmd)[0]
-        if cmd in commands.norepo:
+        if cmd in norepo:
             continue
         entry = extensions.wrapcommand(commands.table, cmd, mqcommand)
         entry[1].extend(mqopt)


More information about the Mercurial-devel mailing list