You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Buhler, Doug" <do...@verigy.com> on 2009/08/19 21:44:34 UTC

svn up with file lock and svn:keywords property set cause file to be touched

Hi,

We just upgraded to 1.6.4 (from 1.4.3) and are seeing an unusual annoyance.

Normally if you do an "svn up" and nothing has changed on a file, its timestamp remains unchanged.  But it you:

svn propset svn:keywords "Id" myfile
svn lock myfile
svn up

The timestamp of "myfile" gets updated to the time of the last "svn up".

We're on Redhat 5 Linux(2.6.18-128.el5) x86_64.


Doug Buhler
   ASIC Design Engineer
   Verigy Ltd.
   (970) 229-2409      MST = UTC-7 (-6 DST)     
   doug.buhler@verigy.com
-----------------------------------------

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385406

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svn up with file lock and svn:keywords property set cause file to be touched

Posted by David Weintraub <qa...@gmail.com>.
Just confirmed this, you have to add a property, lock the file, and then do
update. Doing only a lock or propset will not cause this issue.

On Wed, Aug 19, 2009 at 5:44 PM, Buhler, Doug <do...@verigy.com>wrote:

> Hi,
>
> We just upgraded to 1.6.4 (from 1.4.3) and are seeing an unusual annoyance.
>
> Normally if you do an "svn up" and nothing has changed on a file, its
> timestamp remains unchanged.  But it you:
>
> svn propset svn:keywords "Id" myfile
> svn lock myfile
> svn up
>
> The timestamp of "myfile" gets updated to the time of the last "svn up".
>
> We're on Redhat 5 Linux(2.6.18-128.el5) x86_64.
>
>
> Doug Buhler
>   ASIC Design Engineer
>   Verigy Ltd.
>   (970) 229-2409      MST = UTC-7 (-6 DST)
>   doug.buhler@verigy.com
> -----------------------------------------
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385406
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>



-- 
David Weintraub
qazwart@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385787

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].