changeset 3088: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
+++ b/hgext/mq.py
@@ -40,7 +40,7 @@ commands.norepo += " qclone qversion"
 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: