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

RE: Re: Auto-lock with DOC, XLS

From: <marcos.martins_at_indt.org.br>
Date: Fri, 5 Sep 2008 17:30:59 -0400

Where can I do this?
 
Is there a way to do this in server side??
 

MARCOS RUIZ MARTINS
________________________________

From: ext Kevin Greiner [mailto:greinerk_at_gmail.com]
Sent: sexta-feira, 5 de setembro de 2008 12:26
To: users_at_tortoisesvn.tigris.org
Subject: Re: Auto-lock with DOC, XLS

On Fri, Sep 5, 2008 at 9:57 AM, Andy Levy <andy.levy_at_gmail.com> wrote:

        On Fri, Sep 5, 2008 at 09:38, <marcos.martins_at_indt.org.br>
wrote:
> Hi,
>
> How can I auto-lock a file? Is there a solution??
        
        
        Set svn:needs-lock on the files. There is no "automatic"
locking.
        

But you can automatically set svn:needs-lock when adding the file, which
I find very useful. Here are the relevant config lines.

[auto-props]
*.bin = svn:needs-lock;svn:mime-type=application/x-binary

*.png = svn:needs-lock;svn:mime-type=image/png
*.jpg = svn:needs-lock;svn:mime-type=image/jpeg
*.gif = svn:needs-lock;svn:mime-type=image/gif
*.tif = svn:needs-lock;svn:mime-type=image/tiff
*.doc = svn:needs-lock;svn:mime-type=application/msword
*.xls = svn:needs-lock;svn:mime-type=application/excel

 
Received on 2008-09-05 23:34:19 CEST

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