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

Re: svn commit: r11930 - in branches/locking/subversion: include libsvn_fs_base

From: <kfogel_at_collab.net>
Date: 2004-11-22 23:01:24 CET

"C. Michael Pilato" <cmpilato@collab.net> writes:
> kfogel@collab.net writes:
>
> > > You will have used 2 indexes. You dump that repos (which has one lock
> > > in it, for bar.c), you load into another one. Now, either you have to
> > > tell your database backed "Turn off your auto-incrementer, because I'm
> > > dictating keys to you" or you have to deal with the fact that the one
> > > lock in your dump is only gonna use 1 index in your repos, which means
> > > that it will get a different UID than it had before the dump.
> >
> > Huh? No, you only have to increment the target repository's index to
> > the higher of the two repository's auto-incremented next-id fields.
> > And bar.c keeps its original lock token, of course.
> >
> > I'm not sure I understood your paragraph correctly though. Say it
> > less tersely?
>
> No, you understood right. And you gave exactly the response I
> expected. But that's starting to smell like a layering violation,
> dontcha think?

Oh, I see what you mean. Not to me, but then, I have no taste.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 22 23:06:03 2004

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.