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

Re: "svn mv" on non-empty directory --> "WC not locked" or "txn out of date"

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-31 23:35:40 CET

On Fri, 2003-10-31 at 16:16, Gareth McCaughan wrote:

> How difficult would the following be? (I'm guessing that the
> answer is "altogether too difficult".) In txn_body_commit,
> before giving up because a txn is out of date, check to see
> whether the two revisions are "the same" (i.e., nothing has
> changed between them). If they aren't, then we report
> SVN_ERR_FS_TXN_OUT_OF_DATE as at present. But
> if they're the same, then we allow everything to go ahead.
>
> We must be able (in principle) to tell whether anything has
> changed, because otherwise "svn status" wouldn't work.
> It naively looks to me as if svn_fs_contents_changed will
> determine this.
>
> Doubtless I'm being *very* naive here. Enlighten me ...

I think I'll let cmpilato field this question... :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 23:36:26 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.