relnotes/5.3
branchstable
changeset 44133 1f8f215219ff
parent 44092 833210fbd900
equal deleted inserted replaced
44132:f0a4084f82d6 44133:1f8f215219ff
       
     1 == New Features ==
       
     2 
       
     3  * Windows will process hgrc files in %PROGRAMDATA%\Mercurial\hgrc.d.
       
     4 
       
     5 
       
     6 == New Experimental Features ==
       
     7 
       
     8 
       
     9 == Bug Fixes  ==
       
    10 
       
    11  * The `indent()` template function was documented to not indent empty lines,
       
    12    but it still indented the first line even if it was empty. It no longer does
       
    13    that.
       
    14 
       
    15 == Backwards Compatibility Changes ==
       
    16 
       
    17 
       
    18 == Internal API Changes ==
       
    19 
       
    20  * Matcher instances no longer have a `explicitdir` property. Consider
       
    21    rewriting your code to use `repo.wvfs.isdir()` and/or
       
    22    `ctx.hasdir()` instead. Also, the `traversedir` property is now
       
    23    also called when only `explicitdir` used to be called. That may
       
    24    mean that you can simply remove the use of `explicitdir` if you
       
    25    were already using `traversedir`.
       
    26 
       
    27  * The `revlog.nodemap` object have been merged into the `revlog.index` object.
       
    28    * `n in revlog.nodemap` becomes `revlog.index.has_node(n)`,
       
    29    * `revlog.nodemap[n]` becomes `revlog.index.rev(n)`,
       
    30    * `revlog.nodemap.get(n)` becomes `revlog.index.get_rev(n)`.
       
    31 
       
    32  * `copies.duplicatecopies()` was renamed to
       
    33    `copies.graftcopies()`. Its arguments changed from revision numbers
       
    34    to context objects. It also lost its `repo` and `skip` arguments
       
    35    (they should no longer be needed).