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

Re: Committing modifications with fulltext deltas

From: Daniel Patterson <danpat_at_danpat.net>
Date: 2005-02-16 21:54:51 CET

> On Wed, 2005-02-16 at 04:32, Daniel Patterson wrote:
> I'm not sure how you'd know when to do add_file and when to do
> open_file. You could grab a recursive directory listing first, but I'm
> not certain how you could ensure that the directory listing is of the
> same rev you're committing against.

  I was thinking something like:
    1) discover the head revision (rH)
    2) retrieve the recursive directory listing for rH
    3) commit, using revision numbers discovered in (2)

  And hopefully, a commit would fail with an out-of-dateness error
  if someone snuck a commit between 1 and 3. libsvn_repos/commit.c
  seems to need a revision parameter for most operations, which I
  assume I can just pass rH.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 16 21:56:29 2005

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.