Patchwork [1,of,4] help: sort format section from newest to oldest

login
register
mail settings
Submitter timeless@mozdev.org
Date Dec. 30, 2015, 10:42 p.m.
Message ID <9860dd648f0aaf9fd293.1451515343@waste.org>
Download mbox | patch
Permalink /patch/12423/
State Accepted
Headers show

Comments

timeless@mozdev.org - Dec. 30, 2015, 10:42 p.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1451495171 0
#      Wed Dec 30 17:06:11 2015 +0000
# Node ID 9860dd648f0aaf9fd29357657480c3d027e249b2
# Parent  23541bdd1610c08af247f9c8719045cf247ce541
help: sort format section from newest to oldest
Yuya Nishihara - Jan. 1, 2016, 8:36 a.m.
On Wed, 30 Dec 2015 16:42:23 -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless@mozdev.org>
> # Date 1451495171 0
> #      Wed Dec 30 17:06:11 2015 +0000
> # Node ID 9860dd648f0aaf9fd29357657480c3d027e249b2
> # Parent  23541bdd1610c08af247f9c8719045cf247ce541
> help: sort format section from newest to oldest

Pushed the patch 1-3 to the clowncopter, thanks.

I'm not a big fan of this ordering, but this seems obviously an improvement
over the original "random" ordering.

Patch

diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -674,13 +674,13 @@ 
     this option ensures that the on-disk format of newly created repository will
     be compatible with Mercurial before version 1.9.
 
-``usestore``
-    Enable or disable the "store" repository format which improves
-    compatibility with systems that fold case or otherwise mangle
-    filenames. Enabled by default. Disabling this option will allow
-    you to store longer filenames in some situations at the expense of
-    compatibility and ensures that the on-disk format of newly created
-    repositories will be compatible with Mercurial before version 0.9.4.
+``dotencode``
+    Enable or disable the "dotencode" repository format which enhances
+    the "fncache" repository format (which has to be enabled to use
+    dotencode) to avoid issues with filenames starting with ._ on
+    Mac OS X and spaces on Windows. Enabled by default. Disabling this
+    option ensures that the on-disk format of newly created
+    repositories will be compatible with Mercurial before version 1.7.
 
 ``usefncache``
     Enable or disable the "fncache" repository format which enhances
@@ -690,13 +690,13 @@ 
     option ensures that the on-disk format of newly created
     repositories will be compatible with Mercurial before version 1.1.
 
-``dotencode``
-    Enable or disable the "dotencode" repository format which enhances
-    the "fncache" repository format (which has to be enabled to use
-    dotencode) to avoid issues with filenames starting with ._ on
-    Mac OS X and spaces on Windows. Enabled by default. Disabling this
-    option ensures that the on-disk format of newly created
-    repositories will be compatible with Mercurial before version 1.7.
+``usestore``
+    Enable or disable the "store" repository format which improves
+    compatibility with systems that fold case or otherwise mangle
+    filenames. Enabled by default. Disabling this option will allow
+    you to store longer filenames in some situations at the expense of
+    compatibility and ensures that the on-disk format of newly created
+    repositories will be compatible with Mercurial before version 0.9.4.
 
 ``graph``
 ---------