mercurial/cmdutil.py
changeset 26533 3e61b325e79a
parent 26532 1d1d0914cb76
child 26545 e99c3846d78a
--- a/mercurial/cmdutil.py	Thu Oct 01 20:21:16 2015 -0700
+++ b/mercurial/cmdutil.py	Thu Oct 01 20:31:43 2015 -0700
@@ -3374,6 +3374,8 @@
 
     if version is None:
         version = '01'
+        if 'generaldelta' in repo.requirements:
+            version = '02'
     else:
         try:
             version = _bundleversionspecs[version]