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

Re: setting properties on non local target

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 5 Dec 2008 09:50:19 -0500

Properties are versioned just like code, so you can't retroactively add or
change properties to previous revisions. Think of a property as part of the
file just as it was a line of code.
There are advantages and disadvantages to this. Note that ClearCase does
allow you to edit properties on any revision of any file. However, in
ClearCase, properties are merely bits of metadata and don't affect the way
the file is interpreted by ClearCase when checked out while in Subversion, a
change in a property could affect how it is interpreted when during a
checkout. This may be why ClearCase can allow property changes while doing
so in Subversion could cause problems.

ClearCase does use a property (actually what they call a Hyperlink) to track
merging. You can manipulate this property to change the merge history. This
can be good when you do a merge manually, yet want ClearCase to understand
that a merge took place. It also allows someone to go in and destroy the
merge history too.

There might be a case of allowing a URL in an "svn propset" command, but
more in the line of using a URL in a "svn delete" or "svn mkdir" command.
That is, you don't need a working copy, but using a URL in the command does
an automatic commit. Frankly, it doesn't really appear all that useful.

Maybe there could be a special class of properties that are allowed to be
modified. Sort of like revision properties, but attached to individual
files. For example, a special property of whether a code review was done on
a particular revision of a file. But, as I said, this has to be a third type
of property.

--
David Weintraub
qazwart_at_gmail.com
On Thu, Dec 4, 2008 at 9:35 AM, Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>wrote:
>  Hi,
>
> I am running this command C:\test>svn propset -R hight 11 *svn**
> ://vm03.timetoknow.local:8443/svn/dev/PropTest/F1.txt*<https://vm03.timetoknow.local:8443/svn/dev/PropTest/F1.txt>
>
> And I am getting the following error
>
> svn: Setting property on non-local target 'svn://vm03.timetoknow.local:8443/svn/dev/PropTest/F1.txt'
> needs a base revision
>
> But I want this action to be captured on all file's revisions.
>
> What am I missing here ?
>
> *******Ilan Yaniv*
>
> Configuration Management
>
> Phone: 03-7534333 ext. 5873
>
> ***Ilan.Yaniv_at_timetoknow.org* <Ilan.Yaniv_at_timetoknow.org>
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=980131
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-05 16:17:32 CET

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.