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

Re: Symbolic links and Samba

From: David Glasser <glasser_at_davidglasser.net>
Date: Thu, 21 Feb 2008 14:16:08 -0500

On Thu, Feb 21, 2008 at 12:35 PM, <kmradke_at_rockwellcollins.com> wrote:
> dglasser_at_gmail.com wrote on 02/21/2008 11:01:21 AM:
>
> > On Thu, Feb 21, 2008 at 11:53 AM, Erik Huelsmann <ehuels_at_gmail.com>
> wrote:
> > > Can you change the content of the property to something valid using
> > > propedit? (Something valid would be "link a" for example, meaning you
> > > want a symlink to the object "a" in the current directory.)
> >
> > The property content is ignored (in fact, normalized to '*'). It's
> > the file content that contains "link foo". You could use "svnput" I
> > guess.
> >
> > > > And I still can't check it out into a working copy to remove it,
> and
> > > > 'svn propdel' complains about a missing base revision, just like
> 'svn
> > > > propset'.
> > >
> > > Ok. We'll need to look into that.
> >
> > Yeah, we should add --base-rev to ps and pd in 1.6.
>
> Please forgive my ignorance here, but why doesn't 'svn propedit'
> require a --base-rev as well?
>
> I.E. why is directly editing any different than directly adding
> or deleting?

'svn propedit' works by:

(1) asking the repository for the current value of the property *and*
its revision
(2) letting the user edit the property
(3) using an API to say "set the property to the new value, using the
revision we got in Step (1) as base_revision

For propset/propdel the user would have to manually look up the base revision.

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-21 20:16:19 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.