make compat server both compatible with "dump" and "dump%i" version stable
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 27 Jul 2012 15:04:55 +0200
branchstable
changeset 396 9dda5c1f6a45
parent 395 822e5305e377
child 399 4d63f8a00787
child 404 4a5488c01a66
make compat server both compatible with "dump" and "dump%i" version
hgext/obsolete.py
--- 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: