Patchwork [5,of,5] convert/svn: quiet check-config

login
register
mail settings
Submitter timeless@mozdev.org
Date Dec. 8, 2015, 9:35 a.m.
Message ID <e638d1911ac225bc2e7b.1449567318@waste.org>
Download mbox | patch
Permalink /patch/11937/
State Accepted
Headers show

Comments

timeless@mozdev.org - Dec. 8, 2015, 9:35 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1449563832 0
#      Tue Dec 08 08:37:12 2015 +0000
# Node ID e638d1911ac225bc2e7bd4bd3a8e3e545df27c0d
# Parent  9a475b110be4f22aade4b02019c70a31bcb4ef91
convert/svn: quiet check-config
Augie Fackler - Dec. 8, 2015, 3:46 p.m.
On Tue, Dec 08, 2015 at 03:35:18AM -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless@mozdev.org>
> # Date 1449563832 0
> #      Tue Dec 08 08:37:12 2015 +0000
> # Node ID e638d1911ac225bc2e7bd4bd3a8e3e545df27c0d
> # Parent  9a475b110be4f22aade4b02019c70a31bcb4ef91
> convert/svn: quiet check-config

Queued these too, many thanks for all the documentation work you've
been doing lately - it's a huge help.

>
> diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py
> --- a/hgext/convert/subversion.py
> +++ b/hgext/convert/subversion.py
> @@ -1041,7 +1041,7 @@
>              relpaths.append(p.strip('/'))
>          args = [self.baseurl, relpaths, start, end, limit,
>                  discover_changed_paths, strict_node_history]
> -        # undocumented feature: debugsvnlog can be disabled
> +        # developer config: convert.svn.debugsvnlog
>          if not self.ui.configbool('convert', 'svn.debugsvnlog', True):
>              return directlogstream(*args)
>          arg = encodeargs(args)
> diff --git a/tests/test-check-config-hg.t b/tests/test-check-config-hg.t
> --- a/tests/test-check-config-hg.t
> +++ b/tests/test-check-config-hg.t
> @@ -6,4 +6,3 @@
>
>    $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
>    >   xargs python contrib/check-config.py
> -  undocumented: convert.svn.debugsvnlog (bool) [True]
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py
--- a/hgext/convert/subversion.py
+++ b/hgext/convert/subversion.py
@@ -1041,7 +1041,7 @@ 
             relpaths.append(p.strip('/'))
         args = [self.baseurl, relpaths, start, end, limit,
                 discover_changed_paths, strict_node_history]
-        # undocumented feature: debugsvnlog can be disabled
+        # developer config: convert.svn.debugsvnlog
         if not self.ui.configbool('convert', 'svn.debugsvnlog', True):
             return directlogstream(*args)
         arg = encodeargs(args)
diff --git a/tests/test-check-config-hg.t b/tests/test-check-config-hg.t
--- a/tests/test-check-config-hg.t
+++ b/tests/test-check-config-hg.t
@@ -6,4 +6,3 @@ 
 
   $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
   >   xargs python contrib/check-config.py
-  undocumented: convert.svn.debugsvnlog (bool) [True]