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

Re: HowTo: set "needs:lock" to new files and/or folders, without auto-properties?

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Tue, 18 Oct 2011 13:06:58 +0100

On 18 October 2011 11:55, Steffen A. <steffen.ahrens84_at_googlemail.com> wrote:
> Hi,
>
> is there a way to tell Tortoise to give the 'needs:lock' property to every
> child of a folder, even if new files are added?
>
> My problem is:
> We use a tool for UML modelling and the models of a project should be put
> under version control. I set the "needs:lock" property on the modeling
> folder (I understand that u can't put props on folders..), which will set
> every existing file in it, too. As I work on the model, additional files are
> added which do not get the "needs:lock" right away.
>
> If I now save the work (or close the program) without getting the locks,
> only the new files (which do not need locks) are updated and the old ones
> are not.. Ouch!
>
> Because some files-ending are used in many different applications, I do not
> want to use auto-props on every file-type this program uses (not even sure
> if I know all the file-endings this program is able to produce..).
>
> So, is there a way to mark a whole folder with "needs:lock" so that all
> newly created files get this prop? Or is there a better solution?

Take a look at the tsvn:autoprops property. You set that on a folder,
so it is effectively a per-folder version of subversion autoprops.

Simon

-- 
:       ___
:  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=2858385
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-10-18 14:07:09 CEST

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

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