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

Re: [SVNMERGE][PATCH] svnmerge rollback

From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2006-05-17 22:11:14 CEST

At 12:45 AM 18/05/2006 +0530, Madan U Sreenivasan wrote:
>On Thu, 18 May 2006 00:08:49 +0530, David James <djames@collab.net> wrote:
>
>> 'touch' isn't available on Windows. So we should do this instead:
>> open("newfile","w").close()
>
>yeah. You are right. Will change this. Thank you for pointing out.

Technically speaking, this isn't what 'touch' does. If the file already
exists, then "touch" does not clear its contents. In order to emulate
"touch", which creates the file if it doesn't exist, but merely updates the
last modified date/time if it does exist already, I believe the mode string
should be "a".

Jonathan Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 17 22:12:05 2006

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.