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

Re: can I use post-commit hook to produce a C header file?

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Wed, 25 May 2011 06:09:53 -0500

Remember to Reply All when you reply so this discussion stays on the mailing list so others can benefit and participate.

On May 25, 2011, at 03:40, 宋哲 wrote:

> Ryan Schmidt:
> thanks for your reply.
>
> If use work copy, that will work fine.
>
> But when I distribute my stuff, I prefer use "svn export", which will not contain svn infomation in source file tree(for some configure file, it's strange with svn infomation).
>
> Iin this case, svnversion only output "exported", and no revision info.

I'm sure you can come up with a short script that you can use to create your distribution, which operates on a working copy (and thus can use svnversion), and ends up using "svn export" to, from that working copy, create an export that you can distribute.
Received on 2011-05-25 13:10:35 CEST

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.