Try to fix CONFLICT on pop - #111
Conversation
|
Could generate a git diff file before to stash dirty code and delete it when all runs well? |
Why? the stash doesn't get deleted if we do a |
Sorry, I'm read |
giscebot
left a comment
There was a problem hiding this comment.
Requesting changes because the conflict detector is incorrect for the normal case and the actual conflict path is not reliably handled. I reviewed the full PR discussion and diff, traced Fabric command behavior, checked the current branch state, ran git diff --check, and reproduced the detector after a successful git stash pop in a temporary repository. The PR also has no CI checks and currently conflicts with master.
|
@giscebot please fix this with |
Co-authored-by: ecarreras <294235+ecarreras@users.noreply.github.com>
Resolve the stash-pop handling against the current PatchApplier API and keep the regression tests isolated from the legacy Fabric test doubles. Co-authored-by: ecarreras <294235+ecarreras@users.noreply.github.com>
|
Fixed and pushed in
The PR is now mergeable ( |
|
@giscebot tingues en compte el mode "local" |
|
Sí, revisat tenint en compte el mode En local aquest cas no pot arribar a Per tant, la gestió de conflictes de restauració d’aquesta PR ha de continuar limitada al backend Fabric/remot ( |
git stash popfailures without letting Fabric abort before cleanup.PatchApplier.apply(..., sudo_user=...)API.Validation
pytest -q— 17 passed.