Patchwork [07,of,10,RFC,v2] compat: add diff.git=True to latest

login
register
mail settings
Submitter David Soria Parra
Date March 12, 2017, 10:40 p.m.
Message ID <7256c598a7f493bcc999.1489358430@davidsp-mbp.dhcp.thefacebook.com>
Download mbox | patch
Permalink /patch/19252/
State Changes Requested
Headers show

Comments

David Soria Parra - March 12, 2017, 10:40 p.m.
# HG changeset patch
# User David Soria Parra <davidsp@fb.com>
# Date 1489358214 25200
#      Sun Mar 12 15:36:54 2017 -0700
# Node ID 7256c598a7f493bcc999259a4cbd88d86077746d
# Parent  63065d4cb13dc3acb9177473896fc3c9c9c7993b
compat: add diff.git=True to latest

Patch

diff --git a/mercurial/compat.py b/mercurial/compat.py
--- a/mercurial/compat.py
+++ b/mercurial/compat.py
@@ -15,7 +15,11 @@ 
 # is sorted while a dictionary is not.
 COMPAT = util.sortdict([
     ('compat', {}),
-    ('latest', {})],
+    ('latest', {
+        'diff': {
+            'git': 'True',
+        },
+    })],
 )
 
 def modernize(ui):