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

Re: svnlook youngest equivalent on webdav repositories

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-12-17 01:51:41 CET

> I am currently using subversion and ant for building an application.
> I am looking for a way to get the revision number from the repository in
> the same method that "svn youngest /path/to/repo" does, but from the web
> dav repository and not from a local repo

So it sounds like you want to "stamp" the revision number into the build
somewhere? If so, then wouldn't you want the revision of your WC, and if
so, then the svnversion program exists for this purpose.

If you are on Windows, the TortoiseSVN project, also provides a very nice
utility called SubWCRev.exe that will replace a variable in a file with the
current revision. I believe it also has some other variables too, like the
commit date of that revision.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 17 01:54:33 2004

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

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