Re: getting the svn revision number out of tree.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]

  Powered by Linux