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

Re: versioning rant

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-21 02:34:48 CET

On Wed, Feb 20, 2002 at 08:07:32PM -0500, Perry E. Metzger wrote:
> Greg Stein <gstein@lyra.org> writes:

... [ using SVN URL/rev keywords ] ...

> The only issue on that -- and this might sound silly but it isn't --
> is that you end up with strings that are a lot longer than you need
> them to be. That might sound silly but it isn't -- you can end up with
> a much less readable string and with lots of wasted space in the
> binaries (and sometimes that can be a LOT of space...)

All right... then let's turn this around. It sounds like the URL/rev is
enough to meet your needs. Can you explain what would make it better?

By "longer than you need", I presume you're referring to the fact that much
of the URL is going to be replicated? That you really only want a branch
name (if applicable) ?

For example, maybe you want your ID constants to look like:

  static const char __id__[] = "$Root: /trunk$ $Rev: 1141$";

or

  static const char __id__[] = "$Root: /tags/0.8$ $Rev: 1141$";

??

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.