intersystems / intersystems/git-source-control

Stashing Deletes does not appear to work in Basic Mode

Abierto
#730 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
ObjectScript
Estrellas
22
Forks
14
Merge medio
1 d 9 h
PR fusionados (30 d)
5

Descripción

In Basic Mode, stashing deletes leads to the following error, at least when those deletes are not owned by the user (see https://github.com/intersystems/git-source-control/issues/729 for when this can occur):

```
ERROR importingHCC.Something.WithA.Really.Long.Foo.CLS

ERROR #5012: File '/data/db/mgr/repo/NPETROCE/src/HCC/Something/WithA/Really/Long/Foo.cls' does not exist [e^Load+1^%SYSTEM.OBJ.1^1 e^ImportItem+37^SourceControl.Git.Utils.1^1 e^OnPull+27^SourceControl.Git.PullEventHandler.IncrementalLoad.1^1 e^OnPull+4^SourceControl.Git.PullEventHandler.Default.1^1 e^ForModifications+15^SourceControl.Git.PullEventHandler.1^1 e^SyncIrisWithRepoThroughDiff+42^SourceControl.Git.Utils.1^1 e^RunGitCommandWithInput+182^SourceControl.Git.Utils.1^1 e^HandleRequest+210^SourceControl.Git.WebUIDriver.1^1 d^zOnPreHTTP+43^%Z.usertemplate.gitsourcecontrol.webuidriver.1^1 e^Page+8^%Z.usertemplate.gitsourcecontrol.webuidriver.1^1 e^CSPDispatch+503^%SYS.cspServer^2 d^CSPDispatch+280^%SYS.cspServer^1 d^ProcessRequest+1^%CSP.Session.1^1 d^Request+683^%SYS.cspServer2^1 d^Request+25^%SYS.cspServer2^1 d^ProcessRequest+1^%CSP.Request.1^1 d^css+21^%SYS.cspServer2^1 d^Server+64^%SYS.SERVER^2 d^^^0:NPETROCE]
Compilation started on 03/12/2025 14:48:03 with qualifiers 'ck'
ERROR #5351: Class 'HCC.Something.WithA.Really.Long.Foo' does not exist. [e^finddependencyclasses+5^%occDepend^1 e^findalldependencyclasses+8^%occDepend^1 e^IncludeClasses+43^%occCompile^1 e^CompileList+59^%occCompile^1 e^realCompile+59^%Studio.Project.1^1 e^CompileList+19^%SYSTEM.OBJ.1^1 e^OnPull+35^SourceControl.Git.PullEventHandler.IncrementalLoad.1^1 e^OnPull+4^SourceControl.Git.PullEventHandler.Default.1^1 e^ForModifications+15^SourceControl.Git.PullEventHandler.1^1 e^SyncIrisWithRepoThroughDiff+42^SourceControl.Git.Utils.1^1 e^RunGitCommandWithInput+182^SourceControl.Git.Utils.1^1 e^HandleRequest+210^SourceControl.Git.WebUIDriver.1^1 d^zOnPreHTTP+43^%Z.usertemplate.gitsourcecontrol.webuidriver.1^1 e^Page+8^%Z.usertemplate.gitsourcecontrol.webuidriver.1^1 e^CSPDispatch+503^%SYS.cspServer^2 d^CSPDispatch+280^%SYS.cspServer^1 d^ProcessRequest+1^%CSP.Session.1^1 d^Request+683^%SYS.cspServer2^1 d^Request+25^%SYS.cspServer2^1 d^ProcessRequest+1^%CSP.Request.1^1 d^css+21^%SYS.cspServer2^1 d^Server+64^%SYS.SERVER^2 d^^^0:NPETROCE]
Skipping class HCC.Something.WithA.Really.Long.Foo
Detected 1 errors during compilation in 0.001s.

Updating production... done.

error: Entry 'src/npetroce/testclass3.cls' not uptodate. Cannot merge.
Cannot save the current worktree state
```

Steps to reproduce: reproduce https://github.com/intersystems/git-source-control/issues/729 then attempt to stash the delete.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing issue 729, then attempt to stash the delete as described here. Trace the reported SourceControl.Git.PullEventHandler and SourceControl.Git.Utils entry points during the operation. Done means stashing the delete completes without the missing-file, compilation, or worktree-state errors shown.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
git
Área
backend, tooling
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.