changeset 396:9dda5c1f6a45 stable

make compat server both compatible with "dump" and "dump%i" version
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Fri, 27 Jul 2012 15:04:55 +0200
parents 822e5305e377
children 4d63f8a00787 4a5488c01a66
files hgext/obsolete.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/obsolete.py	Thu Jul 26 15:23:05 2012 +0200
+++ b/hgext/obsolete.py	Fri Jul 27 15:04:55 2012 +0200
@@ -440,7 +440,7 @@
 
 def pushmarker(repo, key, old, new):
     """Push markers over pushkey"""
-    if key != 'dump':
+    if not key.startswith('dump'):
         repo.ui.warn(_('unknown key: %r') % key)
         return 0
     if old: