[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [semi-OT] Getting the last revision number of a repository from an Ant script

From: Kevin Greiner <greinerk_at_gmail.com>
Date: 2006-02-05 01:13:29 CET

On 2/4/06, Dave Merrill <dmerrill@usa.net> wrote:
> I've tried SubWCRev.exe, but since it works off working copies, it gets the
> revision number of the working copy the script just created to build from,
> so it's always 0.

That's not right. The revision number of the wc is the rev from which
the wc was built.

> Is there a common way to do this? Some other approach entirely?

There is also svnrevision, a cmd-line tool. Have you looked at it?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Feb 5 01:13:43 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.