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

Re: Policy of Keeping text-base and prop-base

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-07-31 17:16:21 CEST

Shlomi Fish <shlomif@vipe.stud.technion.ac.il> writes:

> 1. In a "svn copy URL WC" the repos_to_wc_copy() retrieved the pristine
> copy of the file using ra->get_file() but places it inside the working
> copy instead of the text-base. The text-base and prop-base are not
> created.

When I try it the base files are created:

$ svn cp file://`pwd`/repo/foo wc/foo3
A wc/foo3/bar
Checked out revision 2.
A wc/foo3

$ svn st wc
A + wc/foo3

$ ls wc/foo3/.svn-prop-base wc/foo3/.svn/text-base


> 2. If we create a file and run svn add foo, there isn't a text-base for
> it.

This is the correct behaviour. New files don't exist in the
repository so they have no text or prop base. (That's how it works at
the moment, I suppose it may be possible to simplify the code by
adding empty text and prop bases so that the base files always exist.)

> 3. If I run "svn cp foo bar", we _do_ have a text-base, props and
> prop-base.

This is correct.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 31 17:17:13 2003

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.