Mercurial > hg
comparison hgext/sparse.py @ 47599:cce51119bfe6
dirstate: add a `set_untracked` method for "hg remove"-like usage
This is a step further toward clarifying the semantic of various dirstate call.
See the justification for adding `set_tracked` for details.
Differential Revision: https://phab.mercurial-scm.org/D11019
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 08 Jul 2021 00:54:40 +0200 |
parents | f927ad5a4e2c |
children | f89ac1ed2bc6 |
comparison
equal
deleted
inserted
replaced
47598:305356a7ec99 | 47599:cce51119bfe6 |
---|---|
255 | 255 |
256 # Prevent adding files that are outside the sparse checkout | 256 # Prevent adding files that are outside the sparse checkout |
257 editfuncs = [ | 257 editfuncs = [ |
258 b'normal', | 258 b'normal', |
259 b'set_tracked', | 259 b'set_tracked', |
260 b'set_untracked', | |
260 b'add', | 261 b'add', |
261 b'normallookup', | 262 b'normallookup', |
262 b'copy', | 263 b'copy', |
263 b'remove', | 264 b'remove', |
264 b'merge', | 265 b'merge', |