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

Re: Obtaining Text Status

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 05 Apr 2010 19:55:38 +0200

On 04.04.2010 12:47, Peruri, Rama Mohan Rao wrote:
> Hi ,
>
> During pre-commit I would like to differentiate between a ‘missing’
> file and ‘deleted’ file. I would like to enforce a rule where files
> or directories can only be deleted by using the SVN Delete command in
> Tortoise SVN. Commit of files deleted from windows explorer should
> be blocked.
>
> Can I implement such a check in pre-commit client side hook?

no, TSVN doesn't provide that information to its hook scripts.
But why do you want to do this anyway? Missing files are automatically
changed to 'deleted' on a commit if they're selected for the commit. So
there's no difference when the commit happens.

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=2489005
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-05 19:55:45 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.