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

[PATCH] Description of WC 'LOCK' table

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 09 Mar 2011 17:50:16 +0000

Bert & Greg - OK?

Index: subversion/libsvn_wc/wc-metadata.sql
===================================================================
--- subversion/libsvn_wc/wc-metadata.sql (revision 1079778)
+++ subversion/libsvn_wc/wc-metadata.sql (working copy)
@@ -184,15 +184,11 @@
 
 /* ------------------------------------------------------------------------- */
 
+/* This table is a cache of information about repository locks. */
 CREATE TABLE LOCK (
   /* what repository location is locked */
   repos_id INTEGER NOT NULL REFERENCES REPOSITORY (id),
   repos_relpath TEXT NOT NULL,
- /* ### BH: Shouldn't this refer to an working copy location? You can have a
- single relpath checked out multiple times in one (switch) or more
- working copies. */
- /* ### HKW: No, afaik. This table is just a cache of what's in the
- repository, so these should be repos_relpaths. */
 
   /* Information about the lock. Note: these values are just caches from
      the server, and are not authoritative. */

- Julian
Received on 2011-03-09 18:50:54 CET

This is an archived mail posted to the Subversion Dev mailing list.