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

CESM2.0.0 download issue with SVN components release tag updates

aliceb

Member
If you have a clone of CESM that points to a release tag, then update it to a different release tag and rerun manage_externals/checkout_externals, you may get an error like the following:
Code:
Checking out externals: clm, mosart, ww3, cime, cice, pop, ERROR:root:Command '[u'svn', u'switch', u'--quiet', u'https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags/pop2_cesm2_0_rel_n02']' returned non-zero exit status 1
ERROR:root:Failed with output:
    svn: E195012: Path '.' does not share common version control ancestry with the requested switch location.  Use --ignore-ancestry to disable this check.
    svn: E195012: 'https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags/pop2_cesm2_0_rel_n02' shares no common ancestry with '/Users/sacks/cesm_code/cesm/components/pop'

ERROR: In directory
    /Users/sacks/cesm_code/cesm/components/pop
Process did not run successfully; returned status 1:
    svn switch --quiet https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags/pop2_cesm2_0_rel_n02
See above for output from failed command.
Please check the log file manage_externals.log for more details.

ERROR: Failed with output:
    svn: E195012: Path '.' does not share common version control ancestry with the requested switch location.  Use --ignore-ancestry to disable this check.
    svn: E195012: 'https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags/pop2_cesm2_0_rel_n02' shares no common ancestry with '/Users/sacks/cesm_code/cesm/components/pop'

ERROR: In directory
    /Users/sacks/cesm_code/cesm/components/pop
Process did not run successfully; returned status 1:
    svn switch --quiet https://svn-ccsm-models.cgd.ucar.edu/pop2/release_tags/pop2_cesm2_0_rel_n02
See above for output from failed command.
Please check the log file manage_externals.log for more details.
As long as you have not made any modifications in the affected component directory, you can work around this problem by removing the affected component and rerunning checkout_externals. For example, in the above situation, you can run:
Code:
rm -rf components/pop
then rerun checkout_externals.For more details, see https://github.com/ESCOMP/cesm/issues/64#issuecomment-399587374
 
Top