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

svn log issue..

From: ramit <ramit_at_pando.com>
Date: 2005-07-12 02:31:53 CEST

Hi,

  I'm currently inserting the svn revision number in our resource files
during the compile process using the command below + some perl munging.
All examples are using SVN 1.1.4.

svn log -r BASE /path/to/my/tree

This worked fine for a while however, we branched recently and are
experiencing an odd problem.

When someone commits to the head there is no revision number present in
the message for branch and vice-versa.

example:

User X commits to head.

cd /path/to/head
svn up
svn log -r BASE /path/to/head

outputs:

------------------------------------------------------------------------
r#### | <UserID> | <The date of the last checkin is listed here>| 1 line

<Log Message>
------------------------------------------------------------------------

For the branch:

cd /path/to/branch
svn up (Nothing acutally updates as there have been no new changes here)
svn log -r BASE /path/to/branch

outputs:

------------------------------------------------------------------------

Just a single line with no actual revision details.

The same occurs in reverse if User X had committed to the Branch. My
question.. is this a limitation of SVN, a bug, or am I doing something
wrong? Is there any other way to reliably get the rev. of the tree on
the filesystem?

Thanks in Advance!

-r

-- 
Ramit Hora <ramit@pando.com>
Pando Networks
QA and Release Manager
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 12 02:33:26 2005

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.