[GRASS-dev] [GRASS GIS] #767: g.copy only issues warning when destination exists

GRASS GIS trac at osgeo.org
Tue Sep 29 19:46:19 EDT 2009


#767: g.copy only issues warning when destination exists
--------------------------+-------------------------------------------------
 Reporter:  ferrouswheel  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  6.4.0                    
Component:  default       |     Version:  svn-develbranch6         
 Keywords:                |    Platform:  Unspecified              
      Cpu:  Unspecified   |  
--------------------------+-------------------------------------------------
 g.copy rast=src,dst

 When dst already exists, g.copy only issues a "WARNING" message and
 returns 0 without copying src to dst. This behaviour is erroneous, is
 should give an "ERROR" message and return non-zero (unless an overwrite
 flag is enabled).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/767>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list