[GRASS5] g.copy checking for mapset (from, to)

Hamish hamish_nospam at yahoo.com
Mon Mar 20 03:04:39 EST 2006


> it seems that g.copy does not check if to_mapset exists... Attached
> patch should fix it (I hope).

I don't fully understand, do you mean to copy maps into another mapset
from the current one? That's not supported (or at least I don't think it
should be).

The "to" mapset is always the current one, and if that doesn't exist
you've got bigger problems.

?



+   G_message (_("<%s> not found\n"), from);

fyi- G_message(), G_warning(), and G_fatal_error() all supply a newline
already, only keep one in the string if you really want two of them in
the output.


Hamish




More information about the grass-dev mailing list