File: 5.3

package info (click to toggle)
mercurial 7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 46,124 kB
  • sloc: python: 214,491; ansic: 56,606; tcl: 3,715; sh: 1,879; lisp: 1,483; cpp: 864; makefile: 792; javascript: 649; xml: 36
file content (71 lines) | stat: -rw-r--r-- 2,893 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Mercurial 5.3 (2020-01-29)


## Mercurial 5.3 release 

This is an overview of the 5.3 release.

### New Features 

- Windows will process hgrc files in `%PROGRAMDATA%\Mercurial\hgrc.d`.

- The Phabricator extension will read `.arcconfig` in the repository root to assign
   the `phabricator.callsign` and `phabricator.url` properties, if available.
   This file will override the settings in the global or user level config
   files, but is itself overridden by the config file for the repository (issue6243)

- Accept explicit -r 'wdir()' when adding new bookmarks (issue6218)

- `hg import` has a new --secret option for committing with the  secret phase.


### New Experimental Features 

- The LFS extension adds `--no-lfs` to the `verify`, so that it won't attempt to
   download missing blobs as part of the process.

### Bug Fixes  

- The `indent()` template function was documented to not indent empty lines,
   but it still indented the first line even if it was empty. It no longer does
   that.

- Avoid setting both parents to the same commit in some cases when evolving a merge (issue6098)

- Avoid spurious warnings with `hg verify --verbose` when there are renames in obsolete revisions (issue6172)

- Check for unfinished ops when using the experimental in-memory rebase (issue6214)

- Avoid corrupting dirstate if files are modified while the editor is open for an amend (issue6233)

- Ensure reviews are posted to Phabricator in topological order, regardless of the order specified on the command line (issue6241)

### Backwards Compatibility Changes 

- Changed bundled config file location in Windows .exe installers to `hgrc.d`,
   from `default.d`.  Consider using the new `%PROGRAMDATA%\Mercurial\hgrc.d`
   directory instead of the installation directory if you need to add custom
   config files globally.

- File patterns for the `fix` configuration are resolved against the repository
   root, instead of `cwd`.  This allows filesets to be resolved consistently,
   regardless of `cwd`.

### Internal API Changes 

- Matcher instances no longer have a `explicitdir` property. Consider
   rewriting your code to use `repo.wvfs.isdir()` and/or
   `ctx.hasdir()` instead. Also, the `traversedir` property is now
   also called when only `explicitdir` used to be called. That may
   mean that you can simply remove the use of `explicitdir` if you
   were already using `traversedir`.

- The `revlog.nodemap` object have been merged into the `revlog.index` object.
  - `n in revlog.nodemap` becomes `revlog.index.has_node(n)`,
  - `revlog.nodemap[n]` becomes `revlog.index.rev(n)`,
  - `revlog.nodemap.get(n)` becomes `revlog.index.get_rev(n)`.

- `copies.duplicatecopies()` was renamed to
   `copies.graftcopies()`. Its arguments changed from revision numbers
   to context objects. It also lost its `repo` and `skip` arguments
   (they should no longer be needed).