In Subsersion, there no a conception of file revision. Every commit to a
repository
will make a new revision.
I think you should read this section:
http://svnbook.red-bean.com/en/1.4/svn.basic.in-action.html#svn.basic.in-action.revs
2008/9/3 Lixuesong <givemenews_at_tom.com>
> the way descripted in FAQ "Why doesn't the $Revision$ keyword do what I
> want? It expands to the file's last-changed revision, but I want something
> that will expand to the file's current revision."
> is not ideal since it depends on svn command 'svnversion'.
> if I compile source code in a machine which no svn installed, the compile
> will fail since it doesn't know what is svnversion.
>
> ----- Original Message -----
> From: "Roth, Pierre" <pierre.roth_at_covidien.com>
> To: "Lixuesong" <givemenews_at_tom.com>
> Cc: <users_at_subversion.tigris.org>
> Sent: Wednesday, September 03, 2008 4:50 PM
> Subject: RE: working-revision keyword
>
>
> > -----Message d'origine-----
> > De : Lixuesong [mailto:givemenews_at_tom.com]
> > Envoyé : mercredi 3 septembre 2008 10:36
> > À : Roth, Pierre
> > Objet : Re: working-revision keyword
> >
> > I've got an answer for FAQ "Why doesn't the $Revision$
> > keyword do what I want? It expands to the file's last-changed
> > revision, but I want something that will expand to the file's
> > current revision."
>
> Please answer to the list too.
>
> The current version of the file is the same as the last-changed, isn't it ?
> You local changes do not have a revision yet: they will have one when
> committed to the repository.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
--
My Blog: http://rocksun.cn/
My Site: http://www.subversion.org.cn
Received on 2008-09-03 11:18:33 CEST