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

How to get proplist for a file in a python script

From: Yves Bergeron <yves.bergeron_at_shq.gouv.qc.ca>
Date: 2005-10-06 20:29:53 CEST

Hi,

Using contrib/hook-scripts/pre-commit-check.py as a base script, I'm
trying to inspect the properties and check if svn:eol-style is set in
certain situations (depending on file extension). I know there is a
perl script doing this thing (contrib/hook-scripts/check-mime-type.pl)
but I prefer python since I already done a lot of job in that language.

So, how can I get the property list for a file from a Python script ?

Thank you.

« Le présent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au destinataire dont le nom apparaît ci-dessus. Si ce courriel vous est parvenu par mégarde, veuillez le supprimer et nous en aviser aussitôt. Merci. »

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 6 20:32:38 2005

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.