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

RFE: Exporting metadata for build system

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: 2005-06-01 06:30:36 CEST

I'd like to use metadata (eg. the tag and revision) to build a "version.c"
file for my app that properly identifies the location in the repository
used to acquire the source. This is straightforward with a WC using "svn
info". But if I export the tree and send it to somebody as a tarball, the
metadata is lost.

I'm thinking that the way to approach this is with a new property and an
enhancement to the export command. A property with a name like
"svn:exportmetadata" would tell the export command to include the metadata
for that node. One would typically put this on just the root directory of
an app so that its Makefile can locate the metadata containing the
repository identification.

Am I reinventing the wheel? Is there already a mechanism to handle this
situation? Or some other best practice to accomplish this goal?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 1 06:34:30 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.