sapling/hgext3rd
Saurabh Singh f86c1f069f stat: template which outputs diffstat-style summary of changes
Summary:
There is an existing template "diffstat" which gives a minimal and not
very useful output containing the overall number of files that changed, total
number of lines inserted for all associated files, and total number of lines
deleted for all associated files.

On the other hand, the output from the command line option "stat" is much more
descriptive. Therefore, users end up using commands of the form



  hg log -r . -T '{author}{date}' --stat



When they would have preferred something like



    hg log -r . -T '{author}{date}{stat}'



This change adds the template "stat" which will allow for the desired behavior.

Test Plan:
  # Added a new test test-template-stat.t
  # Ran arc unit

Reviewers: #sourcecontrol, quark

Reviewed By: quark

Subscribers: akushner, medson, mjpieters, quark, rmerizalde

Differential Revision: https://phabricator.intern.facebook.com/D5521665

Tasks: 12422741

Signature: t1:5521665:1501287682:2afaea56b3dc863c52e6300c6bc482ae132a6a61
2017-07-31 11:09:50 -07:00
..
absorb bookmarks: use new applychanges api in all extensions 2017-07-18 10:09:28 -07:00
fastannotate fastannotate: mark as wlock safe 2017-07-14 16:11:55 -07:00
fbamend metaedit: switch to scmutil.cleanupnodes for cleanup 2017-07-31 08:52:22 -07:00
lfs infinitepush: re-enable lfs support 2017-07-20 01:14:35 -07:00
p4fastimport p4fastimport: handle race condition in git fusion commits 2017-07-31 11:06:31 -07:00
__init__.py debian: Do not package hgext3rd/__init__.py 2016-12-19 16:34:49 -08:00
arcdiff.py arcdiff: use absolute paths 2017-01-20 00:24:45 -08:00
backups.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
bundle2hooks.py check-ext: make checks stricter 2017-06-19 08:02:38 -07:00
catnotate.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
checkmessagehook.py checkmessagehook: use reposetup to setup a hook 2017-03-02 01:05:19 -08:00
chistedit.py chistedit: fix lint error 2017-05-23 15:38:09 -07:00
cleanobsstore.py cleanobsstore: fix devel-warning 2017-07-17 04:02:43 -07:00
commitextras.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
conflictinfo.py conflictinfo: fix test 2017-06-13 07:15:54 -07:00
copytrace.py copytrace: remove unused error module import 2017-07-18 10:11:06 -07:00
debugcommitmessage.py debugcommitmessage: fix tests 2017-06-19 03:01:18 -07:00
debuginhibit.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
dialect.py testedwith: change testedwith to "ships-with-fb-hgext" 2016-11-29 13:24:07 +00:00
directaccess.py test-inhibit: fix the test 2017-05-30 12:56:20 -07:00
dirsync.py dirsync: use _fileset 2017-05-19 21:39:47 -07:00
drop.py drop: fix check-code failures 2017-07-19 07:08:21 -07:00
edrecord.py config: do not pass defaults to registered config items 2017-07-18 10:09:28 -07:00
errorredirect.py errorredirect: modify errorredirect extension to send crash log to scuba table 2017-06-27 09:44:29 -07:00
extorder.py extorder: fix test 2017-06-13 09:13:41 -07:00
extutil.py extutil: add unit tests for runbgcommand 2017-04-11 11:25:40 -07:00
fastlog.py fastlog: show all hg log output even if fastlog request failed 2017-07-31 00:58:55 -07:00
fastpartialmatch.py fastpartialmatch: fix devel.warn 2017-07-17 04:03:15 -07:00
fbconduit.py conduit: added correct Content-Type header for conduit queries 2017-05-17 13:50:37 -07:00
fbhistedit.py histedit: add --retry and --show-plan options 2017-07-24 09:32:47 -07:00
fbshow.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
fixcorrupt.py codemod: rewrite nested with 2017-07-17 12:02:08 -07:00
generic_bisect.py fastpartialmatch: use bisect to quickly find matching revisions 2017-02-02 05:12:10 -08:00
githelp.py githelp: don't crash when user does githelp -- git 2017-07-26 08:51:21 -07:00
gitlookup.py gitlookup: move writes into wlock 2017-07-14 15:55:26 -07:00
gitrevset.py gitlookup: fix gitnode() template and revset 2017-03-29 07:13:41 -07:00
grepdiff.py grepdiff: fix to match upstream 2017-03-12 12:49:18 -07:00
grpcheck.py testedwith: change testedwith to "ships-with-fb-hgext" 2016-11-29 13:24:07 +00:00
hiddenerror.py hiddenerror: fix out of bounds error 2017-02-25 15:26:19 -08:00
inhibit.py inhibit: fix date handling and add more tests 2017-07-27 12:33:43 -07:00
inhibitold.py inhibitold: add back the old extension 2017-07-10 15:45:52 -07:00
inhibitwarn.py inhibitwarn: temporarily add the extension back 2017-06-26 11:08:30 -07:00
linkrevcache.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
logginghelper.py logginghelper: resolve devel-warn 2017-07-20 22:09:22 -07:00
mergedriver.py mergedriver: move state writing into wlock 2017-07-17 04:02:43 -07:00
morecolors.py morecolors: colorize uncaught exceptions 2017-06-29 09:55:25 -07:00
morestatus.py morestatus: add wlock around updateargs file 2017-07-14 15:55:26 -07:00
myparent.py templates: fix help messages for template keywords 2017-01-19 12:52:54 -08:00
nointerrupt.py nointerrupt: allowing attendance to default to True 2017-04-24 10:00:31 -07:00
obsshelve.py obsshelve: update savebackup signature 2017-07-17 04:02:43 -07:00
ownercheck.py ownercheck: new extension to prevent operations on repos not owned 2016-07-26 13:10:15 +01:00
patchpython.py patchpython: fix test-check tests 2016-10-20 16:03:31 +01:00
patchrmdir.pyx patchrmdir: new extension to workaround rmdir kernel issues 2017-03-15 18:55:48 -07:00
perftweaks.py perftweaks: add logging for rebase size 2017-07-31 10:57:44 -07:00
phabdiff.py phabdiff: add singlepublicbase revset 2017-06-21 17:03:50 +01:00
phabstatus.py phabstatus: query conduit more efficiently for "hg log" 2017-07-19 12:34:46 -07:00
phrevset.py phrevset: return baseset instead of list 2017-04-24 09:47:52 -07:00
progressfile.py progressfile: fix trailing space 2017-04-26 14:19:39 -07:00
pullcreatemarkers.py codemod: rewrite nested with 2017-07-17 12:02:08 -07:00
pushrebase.py pushrebase: move bookmarks as well 2017-07-27 12:33:43 -07:00
pushvars.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00
rage.py inhibit: update existing code to work with the rewritten version 2017-07-10 15:45:31 -07:00
remoteid.py remoteid: move to hgext3rd 2017-05-23 11:47:04 -07:00
reset.py bookmarks: use new applychanges api in all extensions 2017-07-18 10:09:28 -07:00
sampling.py sampling: fix comment 2017-02-07 00:39:26 -08:00
sigtrace.py sigtrace: new extension provides stack traces on signal 2017-03-07 17:25:40 -08:00
simplecache.py testedwith: change testedwith to "ships-with-fb-hgext" 2016-11-29 13:24:07 +00:00
smartlog.py smartlog: do not draw public commits between draft commits and master 2017-07-21 07:10:08 -07:00
sparse.py sparse: also apply relative-path logic to --delete 2017-07-30 08:42:40 -07:00
sshaskpass.py sshaskpass: do not import mercurial 2017-01-05 17:04:34 +00:00
stat.py stat: template which outputs diffstat-style summary of changes 2017-07-31 11:09:50 -07:00
traceprof.pyx traceprof: implement frame deduplication 2017-05-23 11:50:33 -07:00
traceprofimpl.cpp traceprof: store raw Python code object 2017-05-23 11:51:10 -07:00
tweakdefaults.py tweakdefaults: show warnings when ':' is used to specify revs 2017-07-26 01:58:18 -07:00
uncommit.py uncommit: allow power users to leave an empty commit around 2017-07-21 08:06:47 -07:00
undo.py undo: file corruption handling 2017-07-19 17:49:21 -07:00
upgradegeneraldelta.py upgradegeneraldelta: update to work with upstream revlog changes 2017-07-20 19:48:21 -07:00
whereami.py commands: update to use registrar instead of cmdutil 2017-05-22 13:38:37 -07:00