Index: subversion/libsvn_subr/io.c
===================================================================
--- subversion/libsvn_subr/io.c	(revision 20869)
+++ subversion/libsvn_subr/io.c	(working copy)
@@ -2955,7 +2955,7 @@
              callback inside the recursion. */
           SVN_ERR(svn_path_cstring_to_utf8(&name_utf8, finfo.name,
                                            subpool));
-          full_path = svn_path_join(dirname, name_utf8, subpool);
+	  full_path = svn_path_join(dirname, name_utf8, subpool);
           SVN_ERR(svn_io_dir_walk(full_path,
                                   wanted,
                                   walk_func,
@@ -2967,18 +2967,29 @@
           /* some other directory. pass it to the callback. */
           SVN_ERR(svn_path_cstring_to_utf8(&name_utf8, finfo.name,
                                            subpool));
-          full_path = svn_path_join(dirname, name_utf8, subpool);
+	  full_path = svn_path_join(dirname, name_utf8, subpool);
           SVN_ERR((*walk_func)(walk_baton,
                                full_path,
                                &finfo,
                                subpool));
         }
-      /* else:
-         some other type of file; skip it.
-      */
+      else if (finfo.filetype == APR_LNK)
+        {
+          /* some other directory. pass it to the callback. */
+          SVN_ERR (svn_path_cstring_to_utf8 (&name_utf8, finfo.name,
+                                             subpool));
+          full_path = svn_path_join(dirname, name_utf8, subpool);
+          SVN_ERR ((*walk_func) (walk_baton,
+                                 full_path,
+                                 &finfo,
+                                 subpool));
+        }
+      else
+	{
+          full_path = svn_path_join(dirname, name_utf8, subpool);
+	  frintf(stderr,"Cannot svn_dir_walk filetype of %s\n", full_path);
+	}
 
-    }
-
   svn_pool_destroy(subpool);
 
   apr_err = apr_dir_close(handle);
Index: subversion/libsvn_repos/repos.c
===================================================================
--- subversion/libsvn_repos/repos.c	(revision 20985)
+++ subversion/libsvn_repos/repos.c	(working copy)
@@ -2007,10 +2007,16 @@
     } 
   else if (finfo->filetype == APR_REG)
     {
-    
       SVN_ERR(svn_io_copy_file(path, target, TRUE, pool));
     }
-
+  else if (finfo->filetype == APR_LNK)
+    {
+      SVN_ERR(svn_io_copy_link (path, target, pool));
+    }
+  else
+    {
+      fprintf(stderr,"Cannot hotcopy_ctx_t filetype of %s\n", path);
+    }
   return SVN_NO_ERROR;
 }
 


