# [PATCH 0/2] remote-hg: fix configuration notes

4 messages from 2013-05-21 to 2013-05-21. Participants: Felipe Contreras, Junio C Hamano.
Thread: https://gitlist.dev/t/33885

## Felipe Contreras, 2013-05-21 03:47

Subject: [PATCH 0/2] remote-hg: fix configuration notes
Message-ID: <1369108073-29275-1-git-send-email-felipe.contreras@gmail.com>
URL: https://gitlist.dev/e/1369108073-29275-1-git-send-email-felipe.contreras%40gmail.com

```
Hi,

For 'master'.

Felipe Contreras (2):
  remote-hg: trivial configuration note cleanup
  remote-hg: fix order of configuration comments

 contrib/remote-helpers/git-remote-hg | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
1.8.3.rc3.1.gf11a2b7.dirty

```

## Felipe Contreras, 2013-05-21 03:47

Subject: [PATCH 1/2] remote-hg: trivial configuration note cleanup
Message-ID: <1369108073-29275-2-git-send-email-felipe.contreras@gmail.com>
URL: https://gitlist.dev/e/1369108073-29275-2-git-send-email-felipe.contreras%40gmail.com
In-Reply-To: <1369108073-29275-1-git-send-email-felipe.contreras@gmail.com>

```
Follow the style of the previous configurations.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 contrib/remote-helpers/git-remote-hg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index beb864b..88db7c4 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -36,7 +36,7 @@ import urlparse, hashlib
 # git config --global remote-hg.force-push false
 #
 # If you want the equivalent of hg's clone/pull--insecure option:
-# git config remote-hg.insecure true
+# git config --global remote-hg.insecure true
 #
 # git:
 # Sensible defaults for git.
-- 
1.8.3.rc3.1.gf11a2b7.dirty

```

## Felipe Contreras, 2013-05-21 03:47

Subject: [PATCH 2/2] remote-hg: fix order of configuration comments
Message-ID: <1369108073-29275-3-git-send-email-felipe.contreras@gmail.com>
URL: https://gitlist.dev/e/1369108073-29275-3-git-send-email-felipe.contreras%40gmail.com
In-Reply-To: <1369108073-29275-1-git-send-email-felipe.contreras@gmail.com>

```
The other configurations were added in the wrong place.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 contrib/remote-helpers/git-remote-hg | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg
index 88db7c4..198b962 100755
--- a/contrib/remote-helpers/git-remote-hg
+++ b/contrib/remote-helpers/git-remote-hg
@@ -25,9 +25,6 @@ import atexit
 import urlparse, hashlib
 
 #
-# If you want to switch to hg-git compatibility mode:
-# git config --global remote-hg.hg-git-compat true
-#
 # If you are not in hg-git-compat mode and want to disable the tracking of
 # named branches:
 # git config --global remote-hg.track-branches false
@@ -38,6 +35,9 @@ import urlparse, hashlib
 # If you want the equivalent of hg's clone/pull--insecure option:
 # git config --global remote-hg.insecure true
 #
+# If you want to switch to hg-git compatibility mode:
+# git config --global remote-hg.hg-git-compat true
+#
 # git:
 # Sensible defaults for git.
 # hg bookmarks are exported as git branches, hg branches are prefixed
-- 
1.8.3.rc3.1.gf11a2b7.dirty

```

## Junio C Hamano, 2013-05-21 17:14

Subject: Re: [PATCH 0/2] remote-hg: fix configuration notes
Message-ID: <7vhahwp85o.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vhahwp85o.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1369108073-29275-1-git-send-email-felipe.contreras@gmail.com>

```
Will apply for 1.8.3.

```
