[cmake-developers] [CMake 0015471]: Subversion_WC_INFO shall report current branch commit

Mantis Bug Tracker mantis at public.kitware.com
Mon Mar 23 13:21:07 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15471 
====================================================================== 
Reported By:                Julien Finet
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15471
Category:                   Modules
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-03-23 13:21 EDT
Last Modified:              2015-03-23 13:21 EDT
====================================================================== 
Summary:                    Subversion_WC_INFO shall report current branch
commit
Description: 
Sometimes svn info gives only the last revision of the entire repository.
It would be more useful to know the revision of the current branch.
To do so, add -r BASE



Steps to Reproduce: 
$ svn info mydir
Path: .
URL: https://github.com/username/myproject/branches/mybranch
Repository Root: https://github.com/username/myproject
Revision: 56700
Node Kind: directory
Schedule: normal


$ svn info -r BASE mydir
Path: cax_ext-6.2.0
URL: https://github.com/username/myproject/branches/mybranch
Repository Root: https://github.com/username/myproject
Repository UUID: fa2db1fb-064d-a4d9-c6c8-ce57b7db7bff
Revision: 56700
Node Kind: directory
Last Changed Author: dave.demarle
Last Changed Rev: 56658
Last Changed Date: 2015-02-16 19:30:42 +0100 (Mon, 16 Feb 2015)

Additional Information: 
Use -r BASE with svn info:
with svn info -r BASE ${dir}
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-03-23 13:21 Julien Finet   New Issue                                    
======================================================================



More information about the cmake-developers mailing list