[GRASS-SVN] r66775 - grass/trunk/lib/manage

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 9 06:10:23 PST 2015


Author: hcho
Date: 2015-11-09 06:10:23 -0800 (Mon, 09 Nov 2015)
New Revision: 66775

Modified:
   grass/trunk/lib/manage/do_copy.c
Log:
M_do_copy: Add a warning for failed copy

Modified: grass/trunk/lib/manage/do_copy.c
===================================================================
--- grass/trunk/lib/manage/do_copy.c	2015-11-09 13:52:29 UTC (rev 66774)
+++ grass/trunk/lib/manage/do_copy.c	2015-11-09 14:10:23 UTC (rev 66775)
@@ -64,6 +64,8 @@
 	    }
 	    G_file_name(path2, list[n].element[i], new, G_mapset());
 	    if (G_recursive_copy(path, path2) == 1) {
+		G_warning(_("Unable to copy <%s> to current mapset as <%s>"),
+			  G_fully_qualified_name(old, mapset), new);
 		result = 1;
 	    }
 	    else {



More information about the grass-commit mailing list