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

Re: svn commit: rev 7963 - trunk/subversion/libsvn_wc

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-12-09 20:36:29 CET

Philip Martin wrote:

>If the empty file erroneously gets some content then Subversion may
>well produce the wrong output.
>
>
Yes!

>How about this: drop both the empty file and the README file, and
>start using SVN_NULL_DEVICE_NAME in place of the empty file.
>
We use the empty file as a source for "svn diff" on an added,
uncommitted file. If the nul device will work the same ways, then fine.

I can confirm that reading from NUL on Windows produces instant EOF,
which is what we want here, yes?

>I think we would have to bump SVN_WC__VERSION and have maybe_upgrade_format()
>convert old working copies to the new format.
>
That would involve deleting the empty files, right?

> (If this caused us to
>stop supporting working copies that don't have a format file I would
>not be concerned.)
>
>
We don't support them any more -- a WC upgrade from formats older than 2
is no longer supported.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 9 20:37:16 2003

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.