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

Re: Revision Number on assembly info

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-09-11 12:00:01 CEST

On 9/11/06, Bryan D. Andrews <bandrews@trendcore.com> wrote:
> I am trying to come up with a way to have our revision number and our
> revision on our assemblyinfo.
>
> I have found a few posts on getting the head revision, but I am unclear
> if anyone is doing it this way:
>
> I want to commit and as I am committing write the revision number to the
> assemblyinfo just before it commits so our entire team has a build
> associated with the revision clearly.
>
> Thanks for any thoughts.

I think you should read:

http://subversion.tigris.org/faq.html#version-value-in-source

and

http://svnbook.red-bean.com/nightly/en/svn.basic.in-action.html#svn.basic.in-action.mixedrevs

What you'll learn from the above is that there generally is no single
revision number your working copy is at: it'll be a mix of revisions.

The other thing is there is no way to substitute the revision number
at commit time: the number is simply unknown until the commit has been
finalized (server-side). At that time, the committed data has become
immutable.

I hope I haven't only added confusion...

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 11 12:01:37 2006

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.