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

Re: svn commit: r20834 - trunk/subversion/libsvn_wc

From: Karl Fogel <kfogel_at_google.com>
Date: 2006-07-31 19:10:33 CEST

dionisos@tigris.org writes:
> Modified:
> trunk/subversion/libsvn_wc/diff.c
>
> Log:
> Fix issue 2583: diff tmp files shouldn't *require* write access to .svn/tmp.
>
> Note: There's a better way to fix this: add a flag to svn_wc_translated_file2,
> but, that can't be backported to 1.4.1, so I'm committing this first.
> After backport, we can improve the situation.

When you say "add a flag", do you mean add a new bit for the bitmask
parameter 'apr_uint32_t flags', or do you mean add a whole new parameter?

If the former, I'm not sure what our compatibility policy is on adding
a new bit, but presumably it should be allowed in at least some
circumstances -- otherwise what's the point of using a bitmask? :-)
Specifically, IMHO it should be allowed when the presence of the bit
causes an *improved* behavior for which the non-improved version
(i.e., the behavior you get when the bit is simply ignored) is no
worse than the status quo before the new bit was added.

If the latter, then why not just create svn_wc_translated_file3()?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 31 19:11:31 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.