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

Re: custom sorts? [was: dumper bug? need help.]

From: Branko ÄŒibej <brane_at_xbc.nu>
Date: 2002-07-25 23:25:45 CEST

cmpilato@collab.net wrote:

>The custom sorting is still present. We sort by NODE_ID, then
>COPY_ID, then TXN_ID. But it occurs to me that all we really need
>nowadays is the `next-id' for determining the NODE-ID (just like the
>other tables). The only thing that expects the sorted table is the
>guy who generates new NODE-IDs.
>
>

If the id is "[0-9a-z]\.[0-9a-z]\.[0-9a-z]", with the proper (node_id,
copy_id, txn_id) order, then the default lexical sort will work the same
way. +1 for getting rid of the custom sort, and using next-id.

With a bit of luck, the change may not even require a reload. But even
if it does, IMNSHO we should try to support the stock db_dump/db_load.

-- 
Brane ÄŒibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 25 23:26:16 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.