hledger/tests
Mykola Orliuk 7437c96ff6 Make hledger-rewrite tool suitable for re-factoring original journals (#490)
* cli: fix bug in pivot for postings without tag

Without this fix for postings without tag query checked effective
account which is always empty text ("").

* rewrite: inherit dates, change application order

For budgeting it is important to inherit actual date of posting if it
differs from date of transaction. These dates will be added
as a separate line of comment.

More natural order of rewrites is when result of first defined one is
available for all next rewrites.

* rewrite: factor out Hledger.Data.AutoTransaction

* rewrite: add diff output

With this option you can modify your original files without loosing
inter-transaction comments etc. I.e. you can run:

hledger-rewrite --diff Agency \
  --add-posting 'Expenses:Taxes  *0.17' \
  | patch

As result multiple files should be updated.
Also it is nice to review your changes using colordiff instead of
patch.

* lib: track source lines range for journal

* doc: auto entries and diff output for rewrite
2017-01-20 07:33:24 -08:00
..
add tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
addons tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
balance rename data/ to examples/ 2017-01-08 07:26:13 -08:00
balancesheet bs,is,cf: add functional tests, fix bs infinite loop #393 2016-08-13 07:47:43 -07:00
bin Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
cashflow bs,is,cf: add functional tests, fix bs infinite loop #393 2016-08-13 07:47:43 -07:00
cli Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
csv disable failing test #415 2016-10-21 17:50:47 -07:00
i18n Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
incomestatement bs,is,cf: add functional tests, fix bs infinite loop #393 2016-08-13 07:47:43 -07:00
journal Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
misc cli: fix bug in pivot for postings without tag (#491) 2017-01-19 07:53:00 -08:00
print Preserve implicit amounts and prices the way user wrote them in output of print command (#471) 2017-01-13 07:25:44 -08:00
register drop unusual "d" suffix when showing a day period 2016-08-11 11:23:05 -07:00
stats lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
timeclock rename timelog format to timeclock 2016-04-12 21:13:19 -07:00