dirstate: rename forget to drop
It has substantially different semantics from forget at the command layer, so change it to avoid confusion. We can't simply combine it with remove because we need to explicitly drop non-added files in some cases like commit.
Showing
- hgext/mq.py 3 additions, 3 deletionshgext/mq.py
- mercurial/commands.py 1 addition, 1 deletionmercurial/commands.py
- mercurial/context.py 2 additions, 2 deletionsmercurial/context.py
- mercurial/dirstate.py 4 additions, 7 deletionsmercurial/dirstate.py
- mercurial/localrepo.py 1 addition, 1 deletionmercurial/localrepo.py
- mercurial/merge.py 4 additions, 4 deletionsmercurial/merge.py
Loading
Please register or sign in to comment