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

Re: What revision should an added not yet commited node have?

From: neels <neeels_at_gmail.com>
Date: Fri, 19 Mar 2010 17:42:10 +0100

On 19 March 2010 07:37, Daniel Näslund <daniel_at_longitudo.com> wrote:
> Btw, other diffs I've found between entries and db handling of
> revisions: (i) A missing dir has no revision value in the entries code,
> but it has in the db.

Cool, so no real backwards compat problems there. If all else fails,
we can check the 'missing' state and erase the revision number before
passing on to callers-from-the-past. But I expect it to just sort
itself out.

> (ii) A file copied from foreign url to a wc has
> the revision number set to its value in the foreign repo, although it is
> locally added w/o history in this wc and thus should have 0. That's for
> the entries. The db sets it to -1.

Perfect. I never thought of copies from *foreign* repositories. So the
db acts as if it was a normal add, not a copy, which is correct.

~Neels
Received on 2010-03-19 17:43:05 CET

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.