equal
deleted
inserted
replaced
1856 b'format', b'usegeneraldelta' |
1856 b'format', b'usegeneraldelta' |
1857 ) |
1857 ) |
1858 |
1858 |
1859 |
1859 |
1860 def gddeltaconfig(ui): |
1860 def gddeltaconfig(ui): |
1861 """helper function to know if incoming delta should be optimised""" |
1861 """helper function to know if incoming deltas should be optimized |
|
1862 |
|
1863 The `format.generaldelta` config is an old form of the config that also |
|
1864 implies that incoming delta-bases should be never be trusted. This function |
|
1865 exists for this purpose. |
|
1866 """ |
1862 # experimental config: format.generaldelta |
1867 # experimental config: format.generaldelta |
1863 return ui.configbool(b'format', b'generaldelta') |
1868 return ui.configbool(b'format', b'generaldelta') |
1864 |
1869 |
1865 |
1870 |
1866 class simplekeyvaluefile: |
1871 class simplekeyvaluefile: |