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.)
 
Back
Top