timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:57:20 +0000] rev 27428
branch: reword help text
We're not necessarily talking about *the* active branch,
just any old branch.
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:56:32 +0000] rev 27427
archive: adjust help text
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:54:47 +0000] rev 27426
annotate: add missing period to help
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:54:20 +0000] rev 27425
addremove: make help match add
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:53:40 +0000] rev 27424
add: mention .hgignore in help
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 15:05:25 +0000] rev 27423
bundle: warn for --base with --all
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 15:03:45 +0000] rev 27422
bundle: fix error for --all with destination
Before it complained about --base
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:59:11 +0000] rev 27421
bundle: fix grammar in help text
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:58:52 +0000] rev 27420
bundle: clarify help text
The file might not be compressed; the interactions between
-a, --base, and a named or default repository weren't clear.
Yuya Nishihara <yuya@tcha.org> [Sun, 13 Dec 2015 20:07:19 +0900] rev 27419
cmdutil: do not duplicate stdout by makefileobj()
It made output order unpredictable because two separate buffers are flushed
individually. Let's use a thin wrapper that just sends close() to black hole.
Yuya Nishihara <yuya@tcha.org> [Sun, 13 Dec 2015 20:01:11 +0900] rev 27418
cmdutil: reimplement file wrapper that disables close()
There's no need to dynamically create wrappedfileobj class and define
close() as lambda. Also, __iter__() was missing.
Yuya Nishihara <yuya@tcha.org> [Sun, 13 Dec 2015 19:57:54 +0900] rev 27417
export: remove useless comparison between file object and string
It was introduced at
31aa2e5b0750, where "template" argument could be a file
object. After that,
a306837f8c87 added "len(template)", so "template" must be
a string now. Therefore, "fp != template" should always be True.
It seems
31aa2e5b0750 was intended to work around a bug in TortoiseHg, and
I'm sure I've fixed it completely in TortoiseHg source.
https://selenic.com/pipermail/mercurial-devel/2011-February/028467.html
Yuya Nishihara <yuya@tcha.org> [Sun, 13 Dec 2015 19:47:46 +0900] rev 27416
export: do not print '<fdopen>' as an output filename
Because makefileobj() duplicates or wraps stdout, "fp != sys.stdout" didn't
work correctly. Python doc states that special file objects are named in the
form '<...>', and absolute filenames should never start with '<', we can
ignore names start with '<'. We can't test fp.fileno() because fp may be a
command-server channel.
https://docs.python.org/2.7/library/stdtypes.html#file.name
In the test output, "exporting patch:" line is printed after patch content.
This is caused by fdopen() and will be fixed by the subsequent patch.
Yuya Nishihara <yuya@tcha.org> [Sun, 13 Dec 2015 19:32:01 +0900] rev 27415
commandserver: implement name() to clarify channel is not a plain file
Because unknown attributes are delegated to the underlying file object,
commandserver channels said they were '<stdout>' or '<stdin>' even though
they weren't. This patch makes them say '<X-channel>'.
Mateusz Kwapich <mitrandir@fb.com> [Tue, 15 Dec 2015 13:27:09 -0800] rev 27414
histedit: delete to drop
The default behaviour to forbid this makes a lot of sense for novice users
because it's safeguarding them from dangerous behavior but making it
configurable will be apprieciated by power users in at least one big
organization.
It allows an user to look an histedit rules from declarative perspective and
make the rules reflect the state after histedit. If we can move lines t move
commits why can't we drop lines to drop commits?
Let's put this behind config knob and inform users about this feature the very
moment they are trying to use it so they can choose desired behaviour.
Mathias De Maré <mathias.demare@gmail.com> [Wed, 16 Dec 2015 12:33:54 +0100] rev 27413
clonebundles: fix bundlespec typo
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 20:13:29 +0000] rev 27412
record: fix hunk handling to remember the current function
timeless <timeless@mozdev.org> [Thu, 17 Dec 2015 14:38:22 +0000] rev 27411
record: turn on showfunc
Always try to give diff context when doing an interactive record
Bryan O'Sullivan <bos@serpentine.com> [Thu, 17 Dec 2015 13:07:34 -0800] rev 27410
parsers: use PyTuple_Pack instead of manual list-filling
Suggested by Yuya.
Thu Trang Pham <thu@fb.com> [Thu, 17 Dec 2015 15:23:36 -0800] rev 27409
tags: mention --quiet switch in help (
issue4920)
Matt Mackall <mpm@selenic.com> [Thu, 17 Dec 2015 17:27:32 -0600] rev 27408
merge with stable
timeless <timeless@mozdev.org> [Mon, 14 Dec 2015 23:04:17 +0000] rev 27407
histedit: omit useless message from update (edit)
specifically:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
timeless <timeless@mozdev.org> [Mon, 14 Dec 2015 22:37:31 +0000] rev 27406
histedit: omit useless message from update (_histedit)
specifically:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
timeless <timeless@mozdev.org> [Mon, 14 Dec 2015 21:43:16 +0000] rev 27405
histedit: omit useless message from update (histeditaction)
specifically:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
timeless <timeless@mozdev.org> [Mon, 14 Dec 2015 23:14:06 +0000] rev 27404
update: add quietempty flag to _showstats
if called with quietempty=True, suppress:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
timeless <timeless@mozdev.org> [Mon, 14 Dec 2015 22:08:14 +0000] rev 27403
histedit: omit useless message from abort
specifically:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
timeless <timeless@mozdev.org> [Mon, 14 Dec 2015 23:13:25 +0000] rev 27402
hg: add quietempty flag to _showstats
if called with quietempty=True, suppress:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
Mateusz Kwapich <mitrandir@fb.com> [Thu, 17 Dec 2015 11:00:06 -0800] rev 27401
patch: disable nobinary when HGPLAIN=1
The diff output without binaries is definitely great for interactive users - a
binary patch is not meaningful for them. Although setting diff.nobinary flag
can break the automation. Let's force full output for automation.
Yuya Nishihara <yuya@tcha.org> [Thu, 17 Dec 2015 22:29:41 +0900] rev 27400
help: add missed last new line to "internals" topic
Caught by test-gendoc.t.
Matt Mackall <mpm@selenic.com> [Wed, 16 Dec 2015 20:58:26 -0600] rev 27399
dirstate: make delaywrite sleep until the next multiple of n seconds
Rather than sleep for 2 seconds, we sleep until the next even-numbered
second, which has the same effect, but makes tests faster. This
removes test-largefiles-update as the long pole of the test suite.