changeset 3091:7fa3d38a99b6

mq: handle patch names containing ":"
author Brendan Cully <brendan@kublai.com>
date Thu, 14 Sep 2006 22:52:47 +0200
parents eeaf9bcdfa25
children 41e5ecfb6c24
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: