If remote branch doesn't exist in remote autosubmit shouldn't delete the proj folder
I'm working with a2gq
and the branch 3.3.1.1_wind_meanstate_forced
is only local when I try to refresh it of course failed.
autosubmit refresh a2gq
expdef_a2gq.conf OK
Using project folder: /esarchive/autosubmit/a2gq/proj
Cloning 3.3.1.1_wind_meanstate_forced https://earth.bsc.es/gitlab/es/auto-ecearth3.git into /esarchive/autosubmit/a2gq/proj
Cloning into 'auto-ecearth3'...
Username for 'https://earth.bsc.es': eexarchou
Password for 'https://eexarchou@earth.bsc.es':
fatal: Remote branch 3.3.1.1_wind_meanstate_forced not found in upstream origin
[ERROR] Can not clone 3.3.1.1_wind_meanstate_forced https://earth.bsc.es/gitlab/es/auto-ecearth3.git into /esarchive/autosubmit/a2gq/proj
and the proj folder was removed too.