You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michael Felt <ma...@gmail.com> on 2012/03/04 08:42:27 UTC
[users@httpd] getting the svn revision number out of tree.
Hi,
When checking out a tree the last line is a "revision number" that has been
checked out. Is there a simple way to get that revision number using a
script similar to
the build/pkg/pkginfo script in the httpd distributions?
Michael
Re: [users@httpd] getting the svn revision number out of tree.
Posted by Rainer Jung <ra...@kippdata.de>.
On 04.03.2012 08:42, Michael Felt wrote:
> Hi,
>
> When checking out a tree the last line is a "revision number" that has
> been checked out. Is there a simple way to get that revision number
> using a script similar to
> the build/pkg/pkginfo script in the httpd distributions?
Parse the output of
svn info /path/to/your/working/copy
or if you want to get the revision of the original repository tree:
svn info URL-of-repos-tree
There's the nice http://svnbook.red-bean.com/ ...
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: getting the svn revision number out of tree.
Posted by Michael Rohan <mr...@stonepillar.com>.
Hi,
The "svnversion" run in the root directory of the tree checked out should
give you the info you need.
Take care,
Michael.
On Sat, Mar 3, 2012 at 23:42, Michael Felt <ma...@gmail.com> wrote:
> Hi,
>
> When checking out a tree the last line is a "revision number" that has
> been checked out. Is there a simple way to get that revision number using a
> script similar to
> the build/pkg/pkginfo script in the httpd distributions?
>
> Michael
>
--
=========================
Michael Rohan
Stone Pillar Technologies
=========================