From: Alan W. Irwin (on cmake list)
Yes, [svnversion] is the whole point! It is much easier
than using individual
revision nubmers for each file.
Although not nearly as informative. I just tried svnversion,
and it only
gives a range of Revision numbers for the source tree. That's
As Alan points out, you shouldn't trust the output of svn info as
gospel unless you also verify that svn status gives you *empty*
output.
In the case that Alan identifies of trying to track down where a bug
was introduced, a quick svn status check would show you which files
were *not* up to date
How about:
svn info file:///home/juans/svn_repository/svnroot/ | grep '^Revision:'
| sed -e 's/^[^0-9]*//'
on the repository.
Or just:
svn info | grep '^Revision:' | sed -e 's/^[^0-9]*//'
After doing a svn update, the latest revision on the url seems to be
accurate. Unfortunately the
Looks to me like the output of svn status -u will give you something like...
Status against revision: 1234
... when everything is up to date with respect to svn info.
And it will give something like...
*1001 FileAtPrevRevision.cxx
Status against revision: 1234
... when there is a
Not being a member of the subversion list. And doubting that non cmake
members can email this list. Please email us the results of your query
to the subversion list.
Juan
David Cole wrote:
Looks to me like the output of svn status -u will give you something like...
Status against revision:
-Original Message-
From: Juan Sanchez
Not being a member of the subversion list. And doubting that
non cmake
members can email this list. Please email us the results of
your query
Okay, if people don't think it irrelevant to Cmake. I'm sensitive to the
fact this discussion is
From: Alan W. Irwin
[...]I've tried the following in CMakeLists, placing the output of
'svnversion' and similar commands into an included source
file and it
works [...]
Can some form of dependency be set so that if any source file is
changed [...]
Or, should I use another
On 2007-10-04 18:20+0100 Atwood, Robert C wrote:
From: Alan W. Irwin
[...]I've tried the following in CMakeLists, placing the output of
'svnversion' and similar commands into an included source
file and it
works [...]
Can some form of dependency be set so that if any source file is