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

RE: Property anchors

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-04-13 18:53:29 CEST

> From: Emmanuel-G BLOT [mailto:emmanuel.blot-gnb@st.com]
> I'm not sure about the rules that apply to the properties of a
> file/directory in subversion:
> Is a property global for a given item (file or directory),
> whatever the
> release is, or are they stored on a per-revision basis ?
> In other words, does
> svn propset aproperty avalue ./afile.c
> apply to any revision of this file, or
> apply to the current (or next) revision of this file ?

The current revision - and the property change must be checked in just like any other change.

> Is this property kept until someone explictly changes it (with
> propset/propdel command),

The property is versioned just like the content of the file, so yes, once set, the property will keep its value on every subsequent repository/file revision, until/unless somebody changes it. Checking out a specific revision will pick up the specific property version from that revision.

Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
Received on Tue Apr 13 18:54:07 2004

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.