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

Re: [HACK] Issue #786: implement deltaV auto-versioning

From: Jay Freeman \(saurik\) <saurik_at_saurik.com>
Date: 2002-07-15 01:00:39 CEST

OK, here's version 2:

http://test.saurik.net/autoV-2.patch

better:

- changed MOVE to be a single operation (rather than a copy followed by a
remove)
- added a default log message ("DeltaV Auto-Versioned Revision")
- refactored a wad of repetitive code I added to get transaction roots

same:

- the server claims the file length of all files on the server is 0 bytes
- files added with PUT show up as "*non*-file resource"s to some svn client
operations

Note that neither of the two issues seem to be _important_ ones (checking
the repository out with the real client continues to function as expected),
they just seem to be annoyances added to the API to frustrate people like me
:). Obviously, however, you still shouldn't use this patch for anything
even remotely important until those are dealt with, however, as it has got
to be due to some subtle database corruption that apply_textdelta isn't nice
enough to do automatically for me.

I actually have a theory that this is a _bug_ in apply_textdelta (I'm
guessing it isn't returning a "file not found" error, which causes
svn_fs_make_file to not get called... that or svn_fs_make_file just doesn't
really make files, but that's silly...). I'm still working with an old
version of most of Subversion, though (as I'm scared to death to do another
dump/load after what happened last time), so maybe it's been fixed. I need
to step through it more to verify that theory (as I just got it about 5
minutes ago), but I need to leave for work.

Sincerely,
Jay Freeman (saurik)
saurik@saurik.com

----- Original Message -----
From: "Jay Freeman (saurik)" <saurik@saurik.com>
To: "svn-dev" <dev@subversion.tigris.org>
Sent: Friday, July 12, 2002 7:44 PM
Subject: [PA^H^H^H[HACK] Issue #786: implement deltaV auto-versioning

> I highly disrecommend using this for much, but if anyone wants
> auto-versioning, here it is: http://test.saurik.net/autoV.patch . Note
the
> patch is against the mod_dav_svn directory only.
>
...
>
> Sincerely,
> Jay Freeman (saurik)
> saurik@saurik.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 15 01:01:14 2002

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.