hledger/hledger-lib/Hledger/Data
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
..
Account.hs Fix a few spaceleaks (#413) 2017-01-12 16:24:53 -08:00
AccountName.hs lib: textification begins! account names 2016-05-24 19:00:49 -07:00
Amount.hs Fix a few spaceleaks (#413) 2017-01-12 16:24:53 -08:00
AutoTransaction.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
Commodity.hs lib: textification: commodity symbols 2016-05-24 19:00:57 -07:00
Dates.hs lib: fix a doctest in Hledger.Data.Dates 2016-12-29 11:33:33 -08:00
Journal.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
Ledger.hs comment fixes 2016-08-08 07:22:17 -07:00
Period.hs ui: --watch: track date only when a standard period is in effect 2016-12-07 15:19:36 -08:00
Posting.hs cli: --pivot payee/note uses description parts before/after | 2017-01-13 08:19:42 -08:00
RawOptions.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
StringFormat.hs Replace Parsec with Megaparsec (see #289) (#366) 2016-07-29 08:57:10 -07:00
Timeclock.hs lib: textification: descriptions & codes 2016-05-24 19:00:58 -07:00
Transaction.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00
Types.hs Make hledger-rewrite tool suitable for re-factoring original journals (#490) 2017-01-20 07:33:24 -08:00