hledger/hledger-lib/Hledger/Read
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
..
Common.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
CsvReader.hs csv: create default rules file only if CSV reader succeeds 2016-11-22 13:59:31 -08:00
JournalReader.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
LedgerReader.hs lib: mark ledger reader as experimental, don't use automatically 2016-11-20 10:42:12 -08:00
TimeclockReader.hs more general parser types enabling reuse outside of IO (#439) 2016-12-09 15:57:17 -08:00
TimedotReader.hs more general parser types enabling reuse outside of IO (#439) 2016-12-09 15:57:17 -08:00