##// END OF EJS Templates
relnotes: document the change in the dirstate API...
marmoute -
r48558:ec77f709 default
parent child Browse files
Show More
@@ -21,4 +21,31 b' Mercurial 5.8.'
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