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

Re: propset, revert - Is this the expected behavior

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-02-14 12:03:29 CET

On Mon, 14 Feb 2005, Madan U Sreenivasan wrote:

> The following commands in short :
> propset, propdel, revert : sets the property back on to the file
I can't reproduce this. are you sure the property wasn't deleted in the
WCbefore you set it?

> propdel, propset, revert : does NOT delete the property from the file.
>
I don't understand this. revert will restore the file and props to what
they look like in the base revision (the revision it was last updated to).
Why should it delete the property in this case? It should restore the
property to what it was before the propdel.

> The sequence as I saw it.....
> [madan@madan mod1]$ svn proplist mod1two.c
> [madan@madan mod1]$ svn propset svn:keywords "Rev" mod1two.c
> property 'svn:keywords' set on 'mod1two.c'
> [madan@madan mod1]$ svn proplist mod1two.c
> Properties on 'mod1two.c':
> svn:keywords
> [madan@madan mod1]$ svn propdel svn:keywords mod1two.c
> property 'svn:keywords' deleted from 'mod1two.c'.
> [madan@madan mod1]$ svn revert mod1two.c
> Reverted 'mod1two.c'

I didn't get this, since the property wasn't there before the first
rpopset, so there was nothing to revert.

> [madan@madan mod1]$ svn proplist mod1two.c
> Properties on 'mod1two.c':
> svn:keywords

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 14 12:04:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.