[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] fix for issue 2070

From: Refael Ackermann <mose_at_netvision.net.il>
Date: 2004-10-04 04:59:00 CEST

Simple, don't try to change the affected time on special files (here allso).
Same as when exporting from working copy, so should be done for exports
from URLs.

/moseack

[[[
Fix for issue 2070

* subversion/libsvn_client/export.c
   (close_file) Added check for special files
     when attempting to "set_file_affected_time"
]]]

Index: subversion/libsvn_client/export.c
===================================================================
--- subversion/libsvn_client/export.c (revision 11207)
+++ subversion/libsvn_client/export.c (working copy)
@@ -675,7 +675,7 @@
    if (fb->executable_val)
      SVN_ERR (svn_io_set_file_executable (fb->path, TRUE, FALSE, pool));

- if (fb->date)
+ if ((fb->date) && (! fb->special))
      SVN_ERR (svn_io_set_file_affected_time (fb->date, fb->path, pool));

    if (fb->edit_baton->notify_func)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 4 04:59:23 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.