##// END OF EJS Templates
relnotes: document the change in the dirstate API...
marmoute -
r48558:ec77f709 default
parent child Browse files
Show More
@@ -1,24 +1,51 b''
1 == New Features ==
1 == New Features ==
2
2
3 * `hg config` now has a `--source` option to show where each
3 * `hg config` now has a `--source` option to show where each
4 configuration value comes from.
4 configuration value comes from.
5
5
6
6
7 == Default Format Change ==
7 == Default Format Change ==
8
8
9 These changes affects newly created repositories (or new clone) done with
9 These changes affects newly created repositories (or new clone) done with
10 Mercurial 5.8.
10 Mercurial 5.8.
11
11
12
12
13 == New Experimental Features ==
13 == New Experimental Features ==
14
14
15
15
16 == Bug Fixes ==
16 == Bug Fixes ==
17
17
18
18
19 == Backwards Compatibility Changes ==
19 == Backwards Compatibility Changes ==
20
20
21
21
22 == Internal API Changes ==
22 == Internal API Changes ==
23
23
24 The Dirstate API have been updated as the previous function leaked some
25 internal details and did not distinct between two important cases: "We are
26 changing parent and need to adjust the dirstate" and "some command is changing
27 which file is tracked". To clarify the situation:
24
28
29 * the following functions have been deprecated,
30
31 - dirstate.add,
32 - dirstate.normal,
33 - dirstate.normallookup,
34 - dirstate.merge,
35 - dirstate.otherparent,
36 - dirstate.remove,
37 - dirstate.drop,
38
39 * these new functions are added for the "adjusting parents" use-case:
40
41 - dirstate.update_file,
42 - dirstate.update_file_p1,
43
44 * these new function are added for the "adjusting wc file" use-case":
45
46 - dirstate.set_tracked,
47 - dirstate.set_untracked,
48 - dirstate.set_clean,
49 - dirstate.set_possibly_dirty,
50
51 See inline documentation of the new functions for details.
General Comments 0
You need to be logged in to leave comments. Login now