Re: getting the svn revision number out of tree.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: getting the svn revision number out of tree.
- From: Rainer Jung <rainer.jung@xxxxxxxxxxx>
- Date: Sun, 04 Mar 2012 10:02:01 +0100
- In-reply-to: <CAN9c_NT4et4DGUHAS0x33ZwA95VUQtfX_J0xhDa55Q=1aCw0vQ@mail.gmail.com>
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]