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

Re: Adding properties

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 03 Nov 2010 18:39:40 +0100

On 03.11.2010 14:57, Jean-Marc van Leerdam wrote:
> Hi Robert,
>
> On 3 November 2010 14:44, Robert Lankford
> <robertlfilter-collabnet_at_yahoo.com> wrote:
> <snip>
>> From here
>> (http://subversion.apache.org/faq.html#auto-props), I discover that there is
> <snip>
>> And then adding a similar mechanism to the "post-commit"
>> trigger to invoke that behavior whenever someone makes a change to the
>> repository. And, yes, I could try to educate folks on keeping up with these
>> properties on their end, but I *know* it'll never work 100% of the time.
>
> No, using auto-props should solve your problem for all files added in
> the future: depending on the file extension the mime-type property can
> be added automatically by SVN during the Add.
>
> <snip>
>> How is TortoiseSVN able to perform an operation
>> that I can't accomplish via the command line?
> I am not sure (the developers will explain this undoubtedly), but I
> suspect that the subversion libraries being used by TSVN provide
> additional functionality that is not exposed through the subversion
> command line client.

The SVN API allows to do that. But every time you do that (i.e., for
every file you change the properties) from the repository browser, a new
revision is created because it requires a commit of those changes.
So if you don't want to get too many new revisions which only do one
property change per file, you should check out a working copy, change
the properties there on all files and then commit that change in one
commit, resulting in only one new revision.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2678472
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-03 18:39:54 CET

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