intersystems / intersystems/git-source-control

Stashing Deletes does not appear to work in Basic Mode

Aperta
#730 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
ObjectScript
Stelle
22
Fork
14
Merge medio
1g 9h
PR unite (30g)
5

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.