[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: Perry E. Metzger <perry_at_wasabisystems.com>
Date: 2002-02-21 02:07:32 CET

Greg Stein <gstein@lyra.org> writes:
> I presume that NetBSD uses CVS keywords in every file for this
> identification?

Every file has a CVS keyword. We also have static chars that include
the CVS keywords in strings that get incorporated into executables.

> > perhaps a $RepositoryPath$ keyword that expands to the file's actual
> > path in the repository, which would show you what branch/tag it's on.
> >
> > actually, we already have a $URL$ keyword, which looks like it would
> > expand to what we want. you combine that with the $rev$ keyword and
> > you can have something in each file that uniquely identifies what
> > version and what branch it came from.
> Exactly:

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...)

Perry E. Metzger		perry@wasabisystems.com
NetBSD Development, Support & CDs. http://www.wasabisystems.com/
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.