[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: <Ullrich.Jans_at_elektrobit.com>
Date: Fri, 5 Dec 2008 17:37:30 +0100

Hi,
 
svn:log is just another propertiy of a revision. There are cases where
you might need to change that. (Happened to me before).
 
See the pre-revprop-change hook-script for an example on how to allow
this on the admin side.

Cheers,

Ulli

P.S.: please bear with me if this message looks weird - supposedly
Outlook breaks the lines at 72 chars, but I don't really believe it
yet... ;-)
________________________________

        From: David Weintraub [mailto:qazwart_at_gmail.com]
        Sent: Friday, December 05, 2008 3:50 PM
        To: Ilan Yaniv
        Cc: users_at_subversion.tigris.org
        Subject: Re: setting properties on non local target
        
        
        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
<mailto:Ilan.Yaniv_at_timetoknow.org>

                

----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=980190

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-08 09:06: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.