Fix file-changed-to-dir and dir-to-file commits (issue660).
Allow adding to dirstate files that clash with previously existing but marked for removal. Protect from reintroducing clashes by revert. This change doesn't address related issues with update. Current workaround is to do "clean" update by manually removing conflicting files/dirs from working directory.
Showing
- mercurial/cmdutil.py 3 additions, 2 deletionsmercurial/cmdutil.py
- mercurial/dirstate.py 23 additions, 6 deletionsmercurial/dirstate.py
- mercurial/util.py 1 addition, 1 deletionmercurial/util.py
- tests/test-issue660 89 additions, 0 deletionstests/test-issue660
- tests/test-issue660.out 42 additions, 0 deletionstests/test-issue660.out
Loading
Please register or sign in to comment