dirstate: pass the repo to the `changeparent` method
If we want the context to be responsible for writing (and we want it), we need to have access to a localrepository object. So we now requires a localrepository object as an argument to this context manager.
parent
37639586
No related branches found
No related tags found
Showing
- hgext/absorb.py 1 addition, 1 deletionhgext/absorb.py
- hgext/fix.py 1 addition, 1 deletionhgext/fix.py
- hgext/git/dirstate.py 1 addition, 1 deletionhgext/git/dirstate.py
- hgext/keyword.py 2 additions, 2 deletionshgext/keyword.py
- hgext/largefiles/lfcommands.py 2 additions, 2 deletionshgext/largefiles/lfcommands.py
- hgext/largefiles/lfutil.py 2 additions, 2 deletionshgext/largefiles/lfutil.py
- hgext/largefiles/overrides.py 2 additions, 2 deletionshgext/largefiles/overrides.py
- hgext/mq.py 3 additions, 3 deletionshgext/mq.py
- hgext/narrow/narrowcommands.py 5 additions, 5 deletionshgext/narrow/narrowcommands.py
- hgext/split.py 1 addition, 1 deletionhgext/split.py
- hgext/uncommit.py 2 additions, 2 deletionshgext/uncommit.py
- hgext/win32text.py 1 addition, 1 deletionhgext/win32text.py
- mercurial/cmdutil.py 4 additions, 4 deletionsmercurial/cmdutil.py
- mercurial/commands.py 1 addition, 1 deletionmercurial/commands.py
- mercurial/context.py 2 additions, 2 deletionsmercurial/context.py
- mercurial/dirstate.py 2 additions, 2 deletionsmercurial/dirstate.py
- mercurial/interfaces/dirstate.py 1 addition, 1 deletionmercurial/interfaces/dirstate.py
- mercurial/merge.py 2 additions, 2 deletionsmercurial/merge.py
- mercurial/shelve.py 4 additions, 4 deletionsmercurial/shelve.py
- mercurial/sparse.py 4 additions, 4 deletionsmercurial/sparse.py
Loading
Please register or sign in to comment