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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to