Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

How to generate list of changes committed to a branch for inclusion in ChangeLog file?

pjc@llnl_gov

New Member
Hi,I am working on a repository branch of a CESM component. After making changes and commiting them, often in multiple stages, I would like to update the ChangeLog before creating a new tag.  For example:M       ccsm_utils/Testlistxml/testlist.xmlD       ccsm_utils/Testlistxml/nl_dirs/clm/vic How can I get a list of these commit changes from the svn repository?   Many thanks,  Philip
 

pjc@llnl_gov

New Member
OK.  Figured it out.  The command is:   svn log -v $SVN/....The mistake I was making was that I wasn't adding the $SVN/...  path to the branch, so I was defaulting to the tag version, and therefore wasn't getting the additional changes.
 

sacks

Bill Sacks
CSEG and Liaisons
Staff member
Hi Philip,I just saw this somewhat-old post and thought I'd reply with another tip: A good way to see a summary of everything that has been changed is with:svn diff --summarizeFor example:svn diff --summarize $SVN/path/to/baseline/tag $SVN/path/to/your/tagOutput will look like this:svn diff --summarize https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a https://svn-ccsm-models.cgd.ucar.edu/scripts/branch_tags/rework_glc_compsets_tags/rework_glc_compsets_n03_scripts4_141112aM       https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a/ccsm_utils/Case.template/config_compsets.xmlM       https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a/ccsm_utils/Case.template/config_grid.xmlA       https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a/ccsm_utils/Testlistxml/testmods_dirs/cism/test_coupling/user_nl_cismA       https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a/ccsm_utils/Testlistxml/testmods_dirs/cism/test_couplingM       https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a/ccsm_utils/Testlistxml/testlist.xml M      https://svn-ccsm-models.cgd.ucar.edu/scripts/trunk_tags/scripts4_141112a (You can generally ignore items that have a blank in the first column, as is the case for the last line in the above output.)
 
Top