You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by Apache subversion Wiki <co...@subversion.apache.org> on 2012/02/22 20:06:55 UTC
[Subversion Wiki] Update of "MtimePreservation" by PhilipMartin
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Subversion Wiki" for change notification.
The "MtimePreservation" page has been changed by PhilipMartin:
http://wiki.apache.org/subversion/MtimePreservation?action=diff&rev1=3&rev2=4
* Else if use-text-times matches and text-time is defined, mtime = text-time
* Else, mtime = stime
+ (Checkout is implemented as update from r0 --philip)
+
+ (What happens when mtime cannot represent text-time? We try to set mtime, get some mtime' that is slightly different, store mtime' in BASE.last-mode-time, and then compare mtime against last-mod-time to determine if the mtime has changed. --philip)
+
=== svn update ===
* If use-commit-times, mtime = ctime
* Else if use-text-times matches:
@@ -40, +44 @@
* (This is to prevent mtime-only conflicts; text-time will be reapplied in the next commit.)
* Else if text-time is defined, mtime = text-time
* Else, mtime = stime
+
+ (Deleting text-time looks wrong, that's a property mod. Better to update BASE.text-time but not attempt to set mtime. --philip)
=== svn merge ===
* If no conflicts occur, behaviour is identical to svn update.
@@ -52, +58 @@
=== svn copy ===
* text-time is not copied.
+
+ (That doesn't sound right, it makes cheap copies into expensive copies. An URL copy will preserve the property so a WC copy should do the same. --philip)
=== svn rename ===
* mtime is unchanged.