changeset 51754 | 421c9b3f2f4e |
parent 51534 | 4a8bb136ee77 |
child 51771 | ca4208713875 |
--- a/mercurial/interfaces/repository.py Thu Aug 01 11:43:10 2024 -0400 +++ b/mercurial/interfaces/repository.py Thu Aug 01 13:38:31 2024 +0100 @@ -1021,6 +1021,12 @@ __bool__ = __nonzero__ + def set(path, node, flags): + """Define the node value and flags for a path in the manifest. + + Equivalent to __setitem__ followed by setflag, but can be more efficient. + """ + def __setitem__(path, node): """Define the node value for a path in the manifest.