[GRASS5] g.copy error message

Dear list,

copying maps from PERMANENT to current mapset fails using the same name:

g.copy vect=roads,roads
map roads already exist in mapset PERMANENT

if this is intended, maybe the error message could be extended to sth, like:
map roads already exist in mapset PERMANENT, please add target mapset to map
or sth. else.

thanks
   Otto

--
GMX im TV ... Die Gedanken sind frei ... Schon gesehen?
Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot

otto dassau wrote:

Dear list,

copying maps from PERMANENT to current mapset fails using the same name:

g.copy vect=roads,roads
map roads already exist in mapset PERMANENT

if this is intended, maybe the error message could be extended to sth, like:
map roads already exist in mapset PERMANENT, please add target mapset to map
or sth. else.

thanks Otto

I have fixed it, now it checks if the map exist only in current mapset.

Radim