mq: handle patch names containing ":"
authorBrendan Cully <brendan@kublai.com>
Thu, 14 Sep 2006 22:52:47 +0200
changeset 3091 7fa3d38a99b6
parent 3090 eeaf9bcdfa25
child 3094 41e5ecfb6c24
mq: handle patch names containing ":"
hgext/mq.py
--- a/hgext/mq.py	Thu Sep 14 11:19:35 2006 -0700
+++ b/hgext/mq.py	Thu Sep 14 22:52:47 2006 +0200
@@ -40,7 +40,7 @@
 class statusentry:
     def __init__(self, rev, name=None):
         if not name:
-            fields = rev.split(':')
+            fields = rev.split(':', 1)
             if len(fields) == 2:
                 self.rev, self.name = fields
             else: