Skip to content

Incremental load PullEventHandler needs to handle deletes #299

Closed
@isc-adepedro

Description

@isc-adepedro

Steps to reproduce:

  • Delete a class
  • w ##class(SourceControl.Git.API).Pull()

The deletion is detected by Git/extension ("D" Prefix):

Pulling from branch: test
Fetch done
Files that will be modified by git pull: 
    M.gitlab-ci.yml
    DHS.Local.Hospital.GetPatientInfoProcess.CLSsrc/HS/Local/Hospital/GetPatientInfoProcess.cls
Updating 409377f..48f9b3e
                         Fast-forward
                                      .gitlab-ci.yml                                  | 140 ++++++++++++------------
                                                                                                                     src/HS/Local/Hospital/GetPatientInfoProcess.cls |  48 --------
                                                           2 files changed, 70 insertions(+), 118 deletions(-)
                                                                                                               delete mode 100644 src/HS/Local/Hospital/GetPatientInfoProcess.cls


.gitlab-ci.yml was not imported into the database and will not be compiled.

But an error is thrown right after that:
ERROR #5012: File '/home/irisowner/confstream/hospital/src/HS/Local/Hospital/GetPatientInfoProcess.cls' does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcustomerBased on customer feedback (as opposed to something identified by developers)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions