##// END OF EJS Templates
ui: add new config option for help text width...
ui: add new config option for help text width Before this patch, when printing help text using `hg help`, or `hg log -h`, the output will wrap at 78 chars even if the user has a bigger terminal width and there is no config option to change it, making the experience different from the commonly used `man` tool. This patch introduces a new config option `ui.textwidth`, which replaces the hardcoded number. It's set to 78 by default to maintain compatibility. When set to 0, `hg help` will behave more like `man`.

File last commit:

r28615:a6573503 default
r29070:29a7d591 default
Show More
test-debugextensions.t
83 lines | 1.5 KiB | text/troff | Tads3Lexer
/ tests / test-debugextensions.t
liscju
mercurial: add debugextensions command (issue4676)...
r26351 $ hg debugextensions
$ debugpath=`pwd`/extwithoutinfos.py
$ cat > extwithoutinfos.py <<EOF
> EOF
$ cat >> $HGRCPATH <<EOF
> [extensions]
> color=
> histedit=
> patchbomb=
> rebase=
> mq=
> ext1 = $debugpath
> EOF
$ hg debugextensions
color
ext1 (untested!)
histedit
mq
patchbomb
rebase
$ hg debugextensions -v
color
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 location: */hgext/color.py* (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 tested with: internal
ext1
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 location: */extwithoutinfos.py* (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 histedit
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 location: */hgext/histedit.py* (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 tested with: internal
mq
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 location: */hgext/mq.py* (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 tested with: internal
patchbomb
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 location: */hgext/patchbomb.py* (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 tested with: internal
rebase
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 location: */hgext/rebase.py* (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 tested with: internal
Matt Harbison
test-debugextensions: sanitize JSON output for Windows...
r26430 $ hg debugextensions -Tjson | sed 's|\\\\|/|g'
liscju
mercurial: add debugextensions command (issue4676)...
r26351 [
{
"buglink": "",
"name": "color",
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 "source": "*/hgext/color.py*", (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 "testedwith": "internal"
},
{
"buglink": "",
"name": "ext1",
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 "source": "*/extwithoutinfos.py*", (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 "testedwith": ""
},
{
"buglink": "",
"name": "histedit",
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 "source": "*/hgext/histedit.py*", (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 "testedwith": "internal"
},
{
"buglink": "",
"name": "mq",
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 "source": "*/hgext/mq.py*", (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 "testedwith": "internal"
},
{
"buglink": "",
"name": "patchbomb",
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 "source": "*/hgext/patchbomb.py*", (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 "testedwith": "internal"
},
{
"buglink": "",
"name": "rebase",
Kevin Bullock
test-debugextensions: passes with byte-compilation disabled (issue5147)
r28615 "source": "*/hgext/rebase.py*", (glob)
liscju
mercurial: add debugextensions command (issue4676)...
r26351 "testedwith": "internal"
}
]