[GRASS-dev] [GRASS GIS] #1286: clean_temp can not be called before LOCATION_NAME is set

#1286: clean_temp can not be called before LOCATION_NAME is set
--------------------------+--------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.6
Component: Startup | Version: 6.4.1 RCs
Resolution: fixed | Keywords: wingrass clean_temp init
       CPU: Unspecified | Platform: MSWindows Vista
--------------------------+--------------------------------------

Comment (by wenzeslaus):

In [changeset:"73342" 73342]:
{{{
#!CommitTicketReference repository="" revision="73342"
init: clean mapset only after locking it (fixes #613, see #1286)

Only after we set the user-requested mapset as current (GISRC) and lock
it,
we can do the startup cleaning using clean_temp (to clean after previous
sessions
if needed).

The cleaning was in place at least since r11260 but it got moved to a
wrong place some
time after that but before r37863.
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1286#comment:13&gt;
GRASS GIS <https://grass.osgeo.org>